Re: [RFC] btf: Some structs are doubled because of struct ring_buffer

From: Steven Rostedt
Date: Fri Dec 13 2019 - 14:04:02 EST


On Fri, 13 Dec 2019 19:46:21 +0100
Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:

> > perf_buffer and trace_buffer ?
>
> That's what I just proposed, right? So ACK on that ;-)

Anyway, here's v2, followed by the tracing one, which has the diffstat
of:

drivers/oprofile/cpu_buffer.c | 2 +-
include/linux/ring_buffer.h | 110 ++++++++++++------------
include/linux/trace_events.h | 4 +-
include/trace/trace_events.h | 2 +-
kernel/trace/blktrace.c | 4 +-
kernel/trace/ring_buffer.c | 124 +++++++++++++--------------
kernel/trace/ring_buffer_benchmark.c | 2 +-
kernel/trace/trace.c | 70 +++++++--------
kernel/trace/trace.h | 22 ++---
kernel/trace/trace_branch.c | 2 +-
kernel/trace/trace_events.c | 2 +-
kernel/trace/trace_events_hist.c | 2 +-
kernel/trace/trace_functions_graph.c | 4 +-
kernel/trace/trace_hwlat.c | 2 +-
kernel/trace/trace_kprobe.c | 4 +-
kernel/trace/trace_mmiotrace.c | 4 +-
kernel/trace/trace_sched_wakeup.c | 4 +-
kernel/trace/trace_syscalls.c | 4 +-
kernel/trace/trace_uprobe.c | 2 +-
19 files changed, 185 insertions(+), 185 deletions(-)


-- Steve