diff options
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | 2015-05-05 18:45:27 +0300 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2015-05-13 21:06:10 +0300 |
commit | 2425bcb9240f8c97d793cb31c8e8d8d0a843fa29 (patch) | |
tree | 2177ae6e6a1d6abe8fe0caec482f3430332cb02f /include/trace/trace_events.h | |
parent | 7f1d2f8210195c8c309d424a77dbf06a6d2186f4 (diff) | |
download | linux-2425bcb9240f8c97d793cb31c8e8d8d0a843fa29.tar.xz |
tracing: Rename ftrace_event_{call,class} to trace_event_{call,class}
The name "ftrace" really refers to the function hook infrastructure. It
is not about the trace_events. The structures ftrace_event_call and
ftrace_event_class have nothing to do with the function hooks, and are
really trace_event structures. Rename ftrace_event_* to trace_event_*.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'include/trace/trace_events.h')
-rw-r--r-- | include/trace/trace_events.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/trace/trace_events.h b/include/trace/trace_events.h index c0b94728758b..c6f826136b8c 100644 --- a/include/trace/trace_events.h +++ b/include/trace/trace_events.h @@ -101,11 +101,11 @@ TRACE_MAKE_SYSTEM_STR(); char __data[0]; \ }; \ \ - static struct ftrace_event_class event_class_##name; + static struct trace_event_class event_class_##name; #undef DEFINE_EVENT #define DEFINE_EVENT(template, name, proto, args) \ - static struct ftrace_event_call __used \ + static struct trace_event_call __used \ __attribute__((__aligned__(4))) event_##name #undef DEFINE_EVENT_FN @@ -407,7 +407,7 @@ static struct trace_event_functions ftrace_event_type_funcs_##call = { \ #undef DECLARE_EVENT_CLASS #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, func, print) \ static int notrace __init \ -ftrace_define_fields_##call(struct ftrace_event_call *event_call) \ +ftrace_define_fields_##call(struct trace_event_call *event_call) \ { \ struct ftrace_raw_##call field; \ int ret; \ |