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
commit 687fcc4aee
6 changed files with 31 additions and 31 deletions

View file

@ -304,7 +304,7 @@ struct trace_event_call {
};
static inline const char *
ftrace_event_name(struct trace_event_call *call)
trace_event_name(struct trace_event_call *call)
{
if (call->flags & TRACE_EVENT_FL_TRACEPOINT)
return call->tp ? call->tp->name : NULL;