Lines Matching refs:max_tr
209 static struct trace_array max_tr; variable
683 max_tr.cpu = cpu; in __update_max_tr()
684 max_tr.time_start = data->preempt_timestamp; in __update_max_tr()
686 max_data = max_tr.data[cpu]; in __update_max_tr()
735 tr->buffer = max_tr.buffer; in update_max_tr()
736 max_tr.buffer = buf; in update_max_tr()
768 ret = ring_buffer_swap_cpu(max_tr.buffer, tr->buffer, cpu); in update_max_tr_single()
777 trace_array_printk(&max_tr, _THIS_IP_, in update_max_tr_single()
856 ring_buffer_resize(max_tr.buffer, trace_buf_size); in register_tracer()
872 ring_buffer_resize(max_tr.buffer, 1); in register_tracer()
1049 buffer = max_tr.buffer; in tracing_start()
1081 buffer = max_tr.buffer; in tracing_stop()
2373 iter->tr = &max_tr; in __tracing_open()
2786 ring_buffer_change_overwrite(max_tr.buffer, enabled); in set_tracer_flag()
3029 ret = ring_buffer_resize(max_tr.buffer, size); in __tracing_resize_ring_buffer()
3056 max_tr.entries = size; in __tracing_resize_ring_buffer()
3075 if (max_tr.data[cpu]) in tracing_resize_ring_buffer()
3076 atomic_inc(&max_tr.data[cpu]->disabled); in tracing_resize_ring_buffer()
3088 if (max_tr.data[cpu]) in tracing_resize_ring_buffer()
3089 atomic_dec(&max_tr.data[cpu]->disabled); in tracing_resize_ring_buffer()
3168 ring_buffer_resize(max_tr.buffer, 1); in tracing_set_tracer()
3169 max_tr.entries = 1; in tracing_set_tracer()
3177 ret = ring_buffer_resize(max_tr.buffer, global_trace.entries); in tracing_set_tracer()
3180 max_tr.entries = global_trace.entries; in tracing_set_tracer()
3928 if (max_tr.buffer) in tracing_clock_write()
3929 ring_buffer_set_clock(max_tr.buffer, trace_clocks[i].func); in tracing_clock_write()
5023 max_tr.buffer = ring_buffer_alloc(1, rb_flags); in tracer_alloc_buffers()
5024 if (!max_tr.buffer) { in tracer_alloc_buffers()
5030 max_tr.entries = 1; in tracer_alloc_buffers()
5036 max_tr.data[i] = &per_cpu(max_tr_data, i); in tracer_alloc_buffers()