summaryrefslogtreecommitdiffstats
path: root/include/trace/trace_events.h
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>2015-05-13 21:40:23 +0200
committerSteven Rostedt <rostedt@goodmis.org>2015-05-14 03:49:01 +0200
commitd0ee8f4a1f5f3df933cdc9a80f5dea13e2fb5022 (patch)
treedfe75df4f5f1df1ca78b3729d0faba9e0fbbb89e /include/trace/trace_events.h
parenttracing: Rename ftrace_define_fields_##call() to trace_event_define_fields_##... (diff)
downloadlinux-d0ee8f4a1f5f3df933cdc9a80f5dea13e2fb5022.tar.xz
linux-d0ee8f4a1f5f3df933cdc9a80f5dea13e2fb5022.zip
tracing: Rename ftrace_get_offsets_##call() to trace_event_get_offsets_##call()
The name "ftrace" really refers to the function hook infrastructure. It is not about the trace_events. The function ftrace_get_offsets_##call() is used to find the offset into dynamically allocated trace event fields for printing. It has nothing to do with function tracing. Rename it. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'include/trace/trace_events.h')
-rw-r--r--include/trace/trace_events.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/trace/trace_events.h b/include/trace/trace_events.h
index e27b87ef5724..43be3b0e44d3 100644
--- a/include/trace/trace_events.h
+++ b/include/trace/trace_events.h
@@ -485,7 +485,7 @@ trace_event_define_fields_##call(struct trace_event_call *event_call) \
#undef DECLARE_EVENT_CLASS
#define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \
-static inline notrace int ftrace_get_offsets_##call( \
+static inline notrace int trace_event_get_offsets_##call( \
struct trace_event_data_offsets_##call *__data_offsets, proto) \
{ \
int __data_size = 0; \