Lines Matching refs:trace_buf
471 static int resize_buffer_duplicate_size(struct trace_buffer *trace_buf,
831 struct trace_buffer *trace_buf = &tr->trace_buffer; in __update_max_tr() local
833 struct trace_array_cpu *data = per_cpu_ptr(trace_buf->data, cpu); in __update_max_tr()
3579 static int resize_buffer_duplicate_size(struct trace_buffer *trace_buf, in resize_buffer_duplicate_size() argument
3586 ret = ring_buffer_resize(trace_buf->buffer, in resize_buffer_duplicate_size()
3590 per_cpu_ptr(trace_buf->data, cpu)->entries = in resize_buffer_duplicate_size()
3594 ret = ring_buffer_resize(trace_buf->buffer, in resize_buffer_duplicate_size()
3597 per_cpu_ptr(trace_buf->data, cpu_id)->entries = in resize_buffer_duplicate_size()
5162 struct trace_buffer *trace_buf = &tr->trace_buffer; in tracing_stats_read() local
5175 cnt = ring_buffer_entries_cpu(trace_buf->buffer, cpu); in tracing_stats_read()
5178 cnt = ring_buffer_overrun_cpu(trace_buf->buffer, cpu); in tracing_stats_read()
5181 cnt = ring_buffer_commit_overrun_cpu(trace_buf->buffer, cpu); in tracing_stats_read()
5184 cnt = ring_buffer_bytes_cpu(trace_buf->buffer, cpu); in tracing_stats_read()
5189 t = ns2usecs(ring_buffer_oldest_event_ts(trace_buf->buffer, cpu)); in tracing_stats_read()
5194 t = ns2usecs(ring_buffer_time_stamp(trace_buf->buffer, cpu)); in tracing_stats_read()
5200 ring_buffer_oldest_event_ts(trace_buf->buffer, cpu)); in tracing_stats_read()
5203 ring_buffer_time_stamp(trace_buf->buffer, cpu)); in tracing_stats_read()
5206 cnt = ring_buffer_dropped_events_cpu(trace_buf->buffer, cpu); in tracing_stats_read()
5209 cnt = ring_buffer_read_events_cpu(trace_buf->buffer, cpu); in tracing_stats_read()