tracing: Rename ftrace_event_type_funcs_##call to trace_event_type_funcs_##call
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Wed, 13 May 2015 19:35:44 +0000 (15:35 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Thu, 14 May 2015 01:48:59 +0000 (21:48 -0400)
The name "ftrace" really refers to the function hook infrastructure. It
is not about the trace_events. The structure ftrace_event_type_funcs_##call
is used to define how the trace_events will be printed. It has nothing to
do with function tracing. Rename it.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
include/trace/perf.h
include/trace/trace_events.h

index 1b635c63c60004647e4a4ea55b191136019b81f0..c9af07652f08d7647927adc320d4629735226409 100644 (file)
@@ -231,7 +231,7 @@ static struct trace_event_call __used event_##call = {                      \
        {                                                               \
                .tp                     = &__tracepoint_##call,         \
        },                                                              \
-       .event.funcs            = &ftrace_event_type_funcs_##template,  \
+       .event.funcs            = &trace_event_type_funcs_##template,   \
        .print_fmt              = print_fmt_##template,                 \
        .flags                  = TRACE_EVENT_FL_TRACEPOINT,            \
 };                                                                     \
@@ -248,7 +248,7 @@ static struct trace_event_call __used event_##call = {                      \
        {                                                               \
                .tp                     = &__tracepoint_##call,         \
        },                                                              \
-       .event.funcs            = &ftrace_event_type_funcs_##call,      \
+       .event.funcs            = &trace_event_type_funcs_##call,       \
        .print_fmt              = print_fmt_##call,                     \
        .flags                  = TRACE_EVENT_FL_TRACEPOINT,            \
 };                                                                     \
index 18c7c0248aeba9071ecff20ff2d750de8c56c65a..d88bd0f0844da1bd6f8529c380f120d604046c9f 100644 (file)
@@ -322,7 +322,7 @@ trace_raw_output_##call(struct trace_iterator *iter, int flags,             \
                                                                        \
        return trace_handle_return(s);                                  \
 }                                                                      \
-static struct trace_event_functions ftrace_event_type_funcs_##call = { \
+static struct trace_event_functions trace_event_type_funcs_##call = {  \
        .trace                  = trace_raw_output_##call,              \
 };
 
@@ -348,7 +348,7 @@ trace_raw_output_##call(struct trace_iterator *iter, int flags,             \
        trace_seq_init(p);                                              \
        return trace_output_call(iter, #call, print);                   \
 }                                                                      \
-static struct trace_event_functions ftrace_event_type_funcs_##call = { \
+static struct trace_event_functions trace_event_type_funcs_##call = {  \
        .trace                  = trace_raw_output_##call,              \
 };