Skip to content

Commit

Permalink
ftrace-graph: Remove usage of ftrace_stop() in ftrace_graph_stop()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Steven Rostedt (Red Hat) committed Jul 18, 2014
1 parent 7fa322d commit 545d47b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions kernel/trace/trace_functions_graph.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 545d47b

Please sign in to comment.