diff options
author | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2019-12-13 19:58:57 +0100 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2020-01-13 19:19:38 +0100 |
commit | 13292494379f92f532de71b31a54018336adc589 (patch) | |
tree | f9dc8c8e4e1c1b2114e5c330fed86f0dc2ac170d /include/trace/trace_events.h | |
parent | tracing: Rename trace_buffer to array_buffer (diff) | |
download | linux-13292494379f92f532de71b31a54018336adc589.tar.xz linux-13292494379f92f532de71b31a54018336adc589.zip |
tracing: Make struct ring_buffer less ambiguous
As there's two struct ring_buffers in the kernel, it causes some confusion.
The other one being the perf ring buffer. It was agreed upon that as neither
of the ring buffers are generic enough to be used globally, they should be
renamed as:
perf's ring_buffer -> perf_buffer
ftrace's ring_buffer -> trace_buffer
This implements the changes to the ring buffer that ftrace uses.
Link: https://lore.kernel.org/r/20191213140531.116b3200@gandalf.local.home
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'include/trace/trace_events.h')
-rw-r--r-- | include/trace/trace_events.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/trace/trace_events.h b/include/trace/trace_events.h index 472b33d23a10..13a58d453992 100644 --- a/include/trace/trace_events.h +++ b/include/trace/trace_events.h @@ -570,7 +570,7 @@ static inline notrace int trace_event_get_offsets_##call( \ * enum event_trigger_type __tt = ETT_NONE; * struct ring_buffer_event *event; * struct trace_event_raw_<call> *entry; <-- defined in stage 1 - * struct ring_buffer *buffer; + * struct trace_buffer *buffer; * unsigned long irq_flags; * int __data_size; * int pc; |