ftrace: Add separate function for non recursive callbacks
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Wed, 23 Jul 2014 00:16:57 +0000 (20:16 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Tue, 9 Sep 2014 14:26:48 +0000 (10:26 -0400)
Instead of using the generic list function for callbacks that
are not recursive, call a new helper function from the mcount
trampoline called ftrace_ops_recur_func() that will do the recursion
checking for the callback.

This eliminates an indirection as well as will help in future code
that will use dynamically allocated trampolines.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/ftrace.c

Simple merge