diff options
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | 2015-05-05 16:39:12 +0300 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2015-05-13 21:05:14 +0300 |
commit | 9023c930902fbbcf0cebf6110828700f792989a4 (patch) | |
tree | 241287baff4585962adc10587b2bc3647706c9ec /kernel/trace/trace_branch.c | |
parent | 645df987f7c1740bb1ba783ab907001720a20cf7 (diff) | |
download | linux-9023c930902fbbcf0cebf6110828700f792989a4.tar.xz |
tracing: Rename (un)register_ftrace_event() to (un)register_trace_event()
The name "ftrace" really refers to the function hook infrastructure. It
is not about the trace_events. The functions (un)register_ftrace_event() is
really about trace_events, and the name should be register_trace_event()
instead.
Also renamed ftrace_event_reg() to trace_event_reg() for the same reason.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace_branch.c')
-rw-r--r-- | kernel/trace/trace_branch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/trace_branch.c b/kernel/trace/trace_branch.c index 57cbf1efdd44..bdfcb44d5d4a 100644 --- a/kernel/trace/trace_branch.c +++ b/kernel/trace/trace_branch.c @@ -191,7 +191,7 @@ __init static int init_branch_tracer(void) { int ret; - ret = register_ftrace_event(&trace_branch_event); + ret = register_trace_event(&trace_branch_event); if (!ret) { printk(KERN_WARNING "Warning: could not register " "branch events\n"); |