Lines Matching refs:tr

28 static void mmio_reset_data(struct trace_array *tr)  in mmio_reset_data()  argument
33 tracing_reset_online_cpus(&tr->array_buffer); in mmio_reset_data()
36 static int mmio_trace_init(struct trace_array *tr) in mmio_trace_init() argument
39 mmio_trace_array = tr; in mmio_trace_init()
41 mmio_reset_data(tr); in mmio_trace_init()
46 static void mmio_trace_reset(struct trace_array *tr) in mmio_trace_reset() argument
51 mmio_reset_data(tr); in mmio_trace_reset()
55 static void mmio_trace_start(struct trace_array *tr) in mmio_trace_start() argument
58 mmio_reset_data(tr); in mmio_trace_start()
293 static void __trace_mmiotrace_rw(struct trace_array *tr, in __trace_mmiotrace_rw() argument
298 struct trace_buffer *buffer = tr->array_buffer.buffer; in __trace_mmiotrace_rw()
314 trace_buffer_unlock_commit(tr, buffer, event, trace_ctx); in __trace_mmiotrace_rw()
319 struct trace_array *tr = mmio_trace_array; in mmio_trace_rw() local
320 struct trace_array_cpu *data = per_cpu_ptr(tr->array_buffer.data, smp_processor_id()); in mmio_trace_rw()
321 __trace_mmiotrace_rw(tr, data, rw); in mmio_trace_rw()
324 static void __trace_mmiotrace_map(struct trace_array *tr, in __trace_mmiotrace_map() argument
329 struct trace_buffer *buffer = tr->array_buffer.buffer; in __trace_mmiotrace_map()
345 trace_buffer_unlock_commit(tr, buffer, event, trace_ctx); in __trace_mmiotrace_map()
350 struct trace_array *tr = mmio_trace_array; in mmio_trace_mapping() local
354 data = per_cpu_ptr(tr->array_buffer.data, smp_processor_id()); in mmio_trace_mapping()
355 __trace_mmiotrace_map(tr, data, map); in mmio_trace_mapping()