summaryrefslogtreecommitdiff
path: root/kernel/trace/trace_functions_graph.c
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>2014-06-25 11:13:27 -0400
committerSteven Rostedt <rostedt@goodmis.org>2014-07-18 13:56:58 -0400
commit545d47b8f359f7e9b5beabc28bfeecb3fc6af1ee (patch)
tree3f8e282b24c6424179f14d7a97089f20778501e7 /kernel/trace/trace_functions_graph.c
parent7fa322dba30ced1a357d53abb4ade5535e4e24fc (diff)
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>
Diffstat (limited to 'kernel/trace/trace_functions_graph.c')
-rw-r--r--kernel/trace/trace_functions_graph.c5
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 */