perf: Make struct ring_buffer less ambiguous
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 13 Dec 2019 18:21:30 +0000 (13:21 -0500)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Mon, 13 Jan 2020 18:19:38 +0000 (13:19 -0500)
commit56de4e8f9146680bcd048a29888f7438d5e58c55
tree8a740afb50013dafab41e3c388c5d666dd6a0991
parentb3a987b0264d3ddbb24293ebff10eddfc472f653
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>
include/linux/perf_event.h
kernel/events/core.c
kernel/events/internal.h
kernel/events/ring_buffer.c