• Home
  • Raw
  • Download

Lines Matching refs:trace_buf

1218 static int resize_buffer_duplicate_size(struct array_buffer *trace_buf,
1779 struct array_buffer *trace_buf = &tr->array_buffer; in __update_max_tr() local
1781 struct trace_array_cpu *data = per_cpu_ptr(trace_buf->data, cpu); in __update_max_tr()
5004 struct array_buffer *trace_buf = &tr->array_buffer; in tracing_open() local
5008 trace_buf = &tr->max_buffer; in tracing_open()
5012 tracing_reset_online_cpus(trace_buf); in tracing_open()
5014 tracing_reset_cpu(trace_buf, cpu); in tracing_open()
6241 static int resize_buffer_duplicate_size(struct array_buffer *trace_buf, in resize_buffer_duplicate_size() argument
6248 ret = ring_buffer_resize(trace_buf->buffer, in resize_buffer_duplicate_size()
6252 per_cpu_ptr(trace_buf->data, cpu)->entries = in resize_buffer_duplicate_size()
6256 ret = ring_buffer_resize(trace_buf->buffer, in resize_buffer_duplicate_size()
6259 per_cpu_ptr(trace_buf->data, cpu_id)->entries = in resize_buffer_duplicate_size()
8476 struct array_buffer *trace_buf = &tr->array_buffer; in tracing_stats_read() local
8489 cnt = ring_buffer_entries_cpu(trace_buf->buffer, cpu); in tracing_stats_read()
8492 cnt = ring_buffer_overrun_cpu(trace_buf->buffer, cpu); in tracing_stats_read()
8495 cnt = ring_buffer_commit_overrun_cpu(trace_buf->buffer, cpu); in tracing_stats_read()
8498 cnt = ring_buffer_bytes_cpu(trace_buf->buffer, cpu); in tracing_stats_read()
8503 t = ns2usecs(ring_buffer_oldest_event_ts(trace_buf->buffer, cpu)); in tracing_stats_read()
8508 t = ns2usecs(ring_buffer_time_stamp(trace_buf->buffer)); in tracing_stats_read()
8514 ring_buffer_oldest_event_ts(trace_buf->buffer, cpu)); in tracing_stats_read()
8517 ring_buffer_time_stamp(trace_buf->buffer)); in tracing_stats_read()
8520 cnt = ring_buffer_dropped_events_cpu(trace_buf->buffer, cpu); in tracing_stats_read()
8523 cnt = ring_buffer_read_events_cpu(trace_buf->buffer, cpu); in tracing_stats_read()