diff options
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | 2015-05-13 14:20:14 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2015-05-13 14:20:14 -0400 |
commit | 687fcc4aee4567df14e31e82d6993418b826f408 (patch) | |
tree | e048483944ab5fdbb930ab46d6bc75d053204ef1 /kernel/trace/trace_output.c | |
parent | 609a74045238c303bbe9396775eacf5bac1f51cc (diff) |
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>
Diffstat (limited to 'kernel/trace/trace_output.c')
-rw-r--r-- | kernel/trace/trace_output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/trace_output.c b/kernel/trace/trace_output.c index 74dfe2e01d68..dfab253727dc 100644 --- a/kernel/trace/trace_output.c +++ b/kernel/trace/trace_output.c | |||
@@ -239,7 +239,7 @@ int trace_raw_output_prep(struct trace_iterator *iter, | |||
239 | } | 239 | } |
240 | 240 | ||
241 | trace_seq_init(p); | 241 | trace_seq_init(p); |
242 | trace_seq_printf(s, "%s: ", ftrace_event_name(event)); | 242 | trace_seq_printf(s, "%s: ", trace_event_name(event)); |
243 | 243 | ||
244 | return trace_handle_return(s); | 244 | return trace_handle_return(s); |
245 | } | 245 | } |