diff options
author | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2019-12-13 19:21:30 +0100 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2020-01-13 19:19:38 +0100 |
commit | 56de4e8f9146680bcd048a29888f7438d5e58c55 (patch) | |
tree | 8a740afb50013dafab41e3c388c5d666dd6a0991 /kernel/trace/trace_branch.c | |
parent | Linux 5.5-rc6 (diff) | |
download | linux-56de4e8f9146680bcd048a29888f7438d5e58c55.tar.xz linux-56de4e8f9146680bcd048a29888f7438d5e58c55.zip |
perf: Make struct ring_buffer less ambiguous
eBPF requires needing to know the size of the perf ring buffer structure.
But it unfortunately has the same name as the generic ring buffer used by
tracing and oprofile. To make it less ambiguous, rename the perf ring buffer
structure to "perf_buffer".
As other parts of the ring buffer code has "perf_" as the prefix, it only
makes sense to give the ring buffer the "perf_" prefix as well.
Link: https://lore.kernel.org/r/20191213153553.GE20583@krava
Acked-by: Peter Zijlstra <peterz@infradead.org>
Suggested-by: Alexei Starovoitov <alexei.starovoitov@gmail.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace_branch.c')
0 files changed, 0 insertions, 0 deletions