Lines Matching refs:trace_buf
1207 static int resize_buffer_duplicate_size(struct array_buffer *trace_buf,
1765 struct array_buffer *trace_buf = &tr->array_buffer; in __update_max_tr() local
1767 struct trace_array_cpu *data = per_cpu_ptr(trace_buf->data, cpu); in __update_max_tr()
4941 struct array_buffer *trace_buf = &tr->array_buffer; in tracing_open() local
4945 trace_buf = &tr->max_buffer; in tracing_open()
4949 tracing_reset_online_cpus(trace_buf); in tracing_open()
4951 tracing_reset_cpu(trace_buf, cpu); in tracing_open()
6167 static int resize_buffer_duplicate_size(struct array_buffer *trace_buf, in resize_buffer_duplicate_size() argument
6174 ret = ring_buffer_resize(trace_buf->buffer, in resize_buffer_duplicate_size()
6178 per_cpu_ptr(trace_buf->data, cpu)->entries = in resize_buffer_duplicate_size()
6182 ret = ring_buffer_resize(trace_buf->buffer, in resize_buffer_duplicate_size()
6185 per_cpu_ptr(trace_buf->data, cpu_id)->entries = in resize_buffer_duplicate_size()
8329 struct array_buffer *trace_buf = &tr->array_buffer; in tracing_stats_read() local
8342 cnt = ring_buffer_entries_cpu(trace_buf->buffer, cpu); in tracing_stats_read()
8345 cnt = ring_buffer_overrun_cpu(trace_buf->buffer, cpu); in tracing_stats_read()
8348 cnt = ring_buffer_commit_overrun_cpu(trace_buf->buffer, cpu); in tracing_stats_read()
8351 cnt = ring_buffer_bytes_cpu(trace_buf->buffer, cpu); in tracing_stats_read()
8356 t = ns2usecs(ring_buffer_oldest_event_ts(trace_buf->buffer, cpu)); in tracing_stats_read()
8361 t = ns2usecs(ring_buffer_time_stamp(trace_buf->buffer)); in tracing_stats_read()
8367 ring_buffer_oldest_event_ts(trace_buf->buffer, cpu)); in tracing_stats_read()
8370 ring_buffer_time_stamp(trace_buf->buffer)); in tracing_stats_read()
8373 cnt = ring_buffer_dropped_events_cpu(trace_buf->buffer, cpu); in tracing_stats_read()
8376 cnt = ring_buffer_read_events_cpu(trace_buf->buffer, cpu); in tracing_stats_read()