commit | f1ff6348b30b3658d138f05643149706f99078ae | [log] [tgz] |
---|---|---|
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | Tue Jul 22 20:16:57 2014 -0400 |
committer | Steven Rostedt <rostedt@goodmis.org> | Tue Sep 09 10:26:48 2014 -0400 |
tree | e35e085be010b5174f85b94939876d13a19eac4f | |
parent | 2ce7598c9a453e0acd0e07be7be3f5eb39608ebd [diff] |
ftrace: Add separate function for non recursive callbacks 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>