diff options
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | 2015-05-13 15:37:57 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2015-05-13 21:49:00 -0400 |
commit | 33d0f35eea7ac9027dee4fff819fc54afc8615e5 (patch) | |
tree | ec0bd2253d8b0d817e7c639e109ea573ef47a537 /include/trace/perf.h | |
parent | 3ad017bac94ac86edf18d0e2218ebafe71e23d45 (diff) | |
download | linux-33d0f35eea7ac9027dee4fff819fc54afc8615e5.tar.bz2 |
tracing: Rename ftrace_define_fields_##call() to trace_event_define_fields_##call()
The name "ftrace" really refers to the function hook infrastructure. It
is not about the trace_events. The function ftrace_define_fields_##call()
is used to define how to process the trace_event fields. It has nothing to
do with function tracing. Rename it.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'include/trace/perf.h')
-rw-r--r-- | include/trace/perf.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/trace/perf.h b/include/trace/perf.h index c9af07652f08..4ad27492a63d 100644 --- a/include/trace/perf.h +++ b/include/trace/perf.h @@ -65,7 +65,7 @@ * * static struct trace_event_class __used event_class_<template> = { * .system = "<system>", - * .define_fields = ftrace_define_fields_<call>, + * .define_fields = trace_event_define_fields_<call>, * .fields = LIST_HEAD_INIT(event_class_##call.fields), * .raw_init = trace_event_raw_init, * .probe = trace_event_raw_event_##call, @@ -215,7 +215,7 @@ _TRACE_PERF_PROTO(call, PARAMS(proto)); \ static char print_fmt_##call[] = print; \ static struct trace_event_class __used __refdata event_class_##call = { \ .system = TRACE_SYSTEM_STRING, \ - .define_fields = ftrace_define_fields_##call, \ + .define_fields = trace_event_define_fields_##call, \ .fields = LIST_HEAD_INIT(event_class_##call.fields),\ .raw_init = trace_event_raw_init, \ .probe = trace_event_raw_event_##call, \ |