tracing: Rename ftrace_event_name() to trace_event_name()

The name "ftrace" really refers to the function hook infrastructure. It
is not about the trace_events. ftrace_event_name() returns the name of
an event tracepoint, has nothing to do with function tracing. Rename it
to trace_event_name().

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
This commit is contained in:
Steven Rostedt (Red Hat)
2015-05-13 14:20:14 -04:00
committed by Steven Rostedt
parent 609a740452
commit 687fcc4aee
6 changed files with 31 additions and 31 deletions

View File

@@ -239,7 +239,7 @@ int trace_raw_output_prep(struct trace_iterator *iter,
}
trace_seq_init(p);
trace_seq_printf(s, "%s: ", ftrace_event_name(event));
trace_seq_printf(s, "%s: ", trace_event_name(event));
return trace_handle_return(s);
}