From: Steven Rostedt (Red Hat) Date: Wed, 23 Jul 2014 00:41:42 +0000 (-0400) Subject: ftrace: Add helper function ftrace_ops_get_func() X-Git-Tag: fixes-against-v3.18-rc2~114^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87354059881ce9315181604dc17076c535f4d744;p=pandora-kernel.git 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 --- Reading git-diff-tree failed