From: Steven Rostedt Date: Mon, 8 Aug 2011 20:57:47 +0000 (-0400) Subject: ftrace: Pass ftrace_ops as third parameter to function trace callback X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~97^2~32^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f5f6ad9390c1ebbf738d130dbfe80b60eaa167e;p=pandora-kernel.git ftrace: Pass ftrace_ops as third parameter to function trace callback Currently the function trace callback receives only the ip and parent_ip of the function that it traced. It would be more powerful to also return the ops that registered the function as well. This allows the same function to act differently depending on what ftrace_ops registered it. Link: http://lkml.kernel.org/r/20120612225424.267254552@goodmis.org Reviewed-by: Masami Hiramatsu Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed