OSDN Git Service

ftrace: Remove function_trace_stop check from list func
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Wed, 25 Jun 2014 15:54:03 +0000 (11:54 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Fri, 18 Jul 2014 17:57:00 +0000 (13:57 -0400)
commit1d48d5960f9f24b8afd5b1dbb10bfe17b5f29a35
treeaf1835d8028612abcf0282d499ee0baecab2f022
parent1820122a76c6d64adc6e2a7ff438029ffb8d7cb4
ftrace: Remove function_trace_stop check from list func

function_trace_stop is no longer used to stop function tracing.
Remove the check from __ftrace_ops_list_func().

Also, call FTRACE_WARN_ON() instead of setting function_trace_stop
if a ops has no func to call.

Reviewed-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/ftrace.c