commit | 87354059881ce9315181604dc17076c535f4d744 | [log] [tgz] |
---|---|---|
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | Tue Jul 22 20:41:42 2014 -0400 |
committer | Steven Rostedt <rostedt@goodmis.org> | Tue Sep 09 19:26:06 2014 -0400 |
tree | aaec89b1b94d9ca028a91da44b68a578aa62148a | |
parent | f1ff6348b30b3658d138f05643149706f99078ae [diff] |
ftrace: Add helper function ftrace_ops_get_func() Add the helper function to what the mcount trampoline is to call for a ftrace_ops function. This helper will be used by arch code in the future to set up dynamic trampolines. But as this does the same tests that are performed in choosing what function to call for the default mcount trampoline, might as well use it to clean up the existing code. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>