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:

committed by
Steven Rostedt

parent
609a740452
commit
687fcc4aee
@@ -1095,7 +1095,7 @@ event_enable_trigger_print(struct seq_file *m, struct event_trigger_ops *ops,
|
||||
seq_printf(m, "%s:%s:%s",
|
||||
enable_data->enable ? ENABLE_EVENT_STR : DISABLE_EVENT_STR,
|
||||
enable_data->file->event_call->class->system,
|
||||
ftrace_event_name(enable_data->file->event_call));
|
||||
trace_event_name(enable_data->file->event_call));
|
||||
|
||||
if (data->count == -1)
|
||||
seq_puts(m, ":unlimited");
|
||||
|
Reference in New Issue
Block a user