diff options
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | 2015-05-13 15:35:44 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2015-05-13 21:48:59 -0400 |
commit | 3ad017bac94ac86edf18d0e2218ebafe71e23d45 (patch) | |
tree | 76eefee0bf10e110058ad16b3d1dc2cd9d840224 /include/trace | |
parent | 62323a148fbeb0258be2c92854d758572bee2a46 (diff) |
tracing: Rename ftrace_event_type_funcs_##call to trace_event_type_funcs_##call
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>
Diffstat (limited to 'include/trace')
-rw-r--r-- | include/trace/perf.h | 4 | ||||
-rw-r--r-- | include/trace/trace_events.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/include/trace/perf.h b/include/trace/perf.h index 1b635c63c600..c9af07652f08 100644 --- a/include/trace/perf.h +++ b/include/trace/perf.h | |||
@@ -231,7 +231,7 @@ static struct trace_event_call __used event_##call = { \ | |||
231 | { \ | 231 | { \ |
232 | .tp = &__tracepoint_##call, \ | 232 | .tp = &__tracepoint_##call, \ |
233 | }, \ | 233 | }, \ |
234 | .event.funcs = &ftrace_event_type_funcs_##template, \ | 234 | .event.funcs = &trace_event_type_funcs_##template, \ |
235 | .print_fmt = print_fmt_##template, \ | 235 | .print_fmt = print_fmt_##template, \ |
236 | .flags = TRACE_EVENT_FL_TRACEPOINT, \ | 236 | .flags = TRACE_EVENT_FL_TRACEPOINT, \ |
237 | }; \ | 237 | }; \ |
@@ -248,7 +248,7 @@ static struct trace_event_call __used event_##call = { \ | |||
248 | { \ | 248 | { \ |
249 | .tp = &__tracepoint_##call, \ | 249 | .tp = &__tracepoint_##call, \ |
250 | }, \ | 250 | }, \ |
251 | .event.funcs = &ftrace_event_type_funcs_##call, \ | 251 | .event.funcs = &trace_event_type_funcs_##call, \ |
252 | .print_fmt = print_fmt_##call, \ | 252 | .print_fmt = print_fmt_##call, \ |
253 | .flags = TRACE_EVENT_FL_TRACEPOINT, \ | 253 | .flags = TRACE_EVENT_FL_TRACEPOINT, \ |
254 | }; \ | 254 | }; \ |
diff --git a/include/trace/trace_events.h b/include/trace/trace_events.h index 18c7c0248aeb..d88bd0f0844d 100644 --- a/include/trace/trace_events.h +++ b/include/trace/trace_events.h | |||
@@ -322,7 +322,7 @@ trace_raw_output_##call(struct trace_iterator *iter, int flags, \ | |||
322 | \ | 322 | \ |
323 | return trace_handle_return(s); \ | 323 | return trace_handle_return(s); \ |
324 | } \ | 324 | } \ |
325 | static struct trace_event_functions ftrace_event_type_funcs_##call = { \ | 325 | static struct trace_event_functions trace_event_type_funcs_##call = { \ |
326 | .trace = trace_raw_output_##call, \ | 326 | .trace = trace_raw_output_##call, \ |
327 | }; | 327 | }; |
328 | 328 | ||
@@ -348,7 +348,7 @@ trace_raw_output_##call(struct trace_iterator *iter, int flags, \ | |||
348 | trace_seq_init(p); \ | 348 | trace_seq_init(p); \ |
349 | return trace_output_call(iter, #call, print); \ | 349 | return trace_output_call(iter, #call, print); \ |
350 | } \ | 350 | } \ |
351 | static struct trace_event_functions ftrace_event_type_funcs_##call = { \ | 351 | static struct trace_event_functions trace_event_type_funcs_##call = { \ |
352 | .trace = trace_raw_output_##call, \ | 352 | .trace = trace_raw_output_##call, \ |
353 | }; | 353 | }; |
354 | 354 | ||