diff options
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | 2015-05-05 13:18:46 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2015-05-13 14:06:36 -0400 |
commit | 3f795dcfc7364cd811c3f6f03d115fcefbbdc1ca (patch) | |
tree | fd52b094781b8b852227dad616a17a110772fd68 /include/trace/perf.h | |
parent | 2425bcb9240f8c97d793cb31c8e8d8d0a843fa29 (diff) | |
download | linux-3f795dcfc7364cd811c3f6f03d115fcefbbdc1ca.tar.bz2 |
tracing: Rename ftrace_event_buffer to trace_event_buffer.
The name "ftrace" really refers to the function hook infrastructure. It
is not about the trace_events. The ftrace_event_buffer functions and data
structures are for trace_events and not for function hooks. Rename them
to trace_event_buffer*.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'include/trace/perf.h')
-rw-r--r-- | include/trace/perf.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/trace/perf.h b/include/trace/perf.h index 1d10c2d2b2c4..b1d7399df449 100644 --- a/include/trace/perf.h +++ b/include/trace/perf.h @@ -155,7 +155,7 @@ ftrace_raw_event_##call(void *__data, proto) \ { \ struct trace_event_file *trace_file = __data; \ struct ftrace_data_offsets_##call __maybe_unused __data_offsets;\ - struct ftrace_event_buffer fbuffer; \ + struct trace_event_buffer fbuffer; \ struct ftrace_raw_##call *entry; \ int __data_size; \ \ @@ -164,7 +164,7 @@ ftrace_raw_event_##call(void *__data, proto) \ \ __data_size = ftrace_get_offsets_##call(&__data_offsets, args); \ \ - entry = ftrace_event_buffer_reserve(&fbuffer, trace_file, \ + entry = trace_event_buffer_reserve(&fbuffer, trace_file, \ sizeof(*entry) + __data_size); \ \ if (!entry) \ @@ -174,7 +174,7 @@ ftrace_raw_event_##call(void *__data, proto) \ \ { assign; } \ \ - ftrace_event_buffer_commit(&fbuffer); \ + trace_event_buffer_commit(&fbuffer); \ } /* * The ftrace_test_probe is compiled out, it is only here as a build time check |