diff options
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | 2014-06-25 17:13:27 +0200 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2014-07-18 19:56:58 +0200 |
commit | 545d47b8f359f7e9b5beabc28bfeecb3fc6af1ee (patch) | |
tree | 3f8e282b24c6424179f14d7a97089f20778501e7 | |
parent | sh: ftrace: Add call to ftrace_graph_is_dead() in function graph code (diff) | |
download | linux-545d47b8f359f7e9b5beabc28bfeecb3fc6af1ee.tar.xz linux-545d47b8f359f7e9b5beabc28bfeecb3fc6af1ee.zip |
ftrace-graph: Remove usage of ftrace_stop() in ftrace_graph_stop()
All archs now use ftrace_graph_is_dead() to stop function graph
tracing. Remove the usage of ftrace_stop() as that is no longer
needed.
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Reviewed-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
-rw-r--r-- | kernel/trace/trace_functions_graph.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/kernel/trace/trace_functions_graph.c b/kernel/trace/trace_functions_graph.c index 3604690be70b..2c944e6c4a9d 100644 --- a/kernel/trace/trace_functions_graph.c +++ b/kernel/trace/trace_functions_graph.c @@ -40,11 +40,6 @@ bool ftrace_graph_is_dead(void) void ftrace_graph_stop(void) { kill_ftrace_graph = true; - /* - * ftrace_stop() will be removed when all archs are updated to - * use ftrace_graph_is_dead() - */ - ftrace_stop(); } /* When set, irq functions will be ignored */ |