]> git.baikalelectronics.ru Git - kernel.git/commit
ftrace/x86: Have static function tracing always test for function graph
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Mon, 24 Nov 2014 19:58:17 +0000 (14:58 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Mon, 24 Nov 2014 20:02:25 +0000 (15:02 -0500)
commit9179634596a53d7a15aaf2be4aabc30d3db1512a
tree5c1301c7deae55ab6137d75a1838b4d8b7a7547d
parent70b20c9bbe68ec57a0d352e9fcfd57287ac54777
ftrace/x86: Have static function tracing always test for function graph

New updates to the ftrace generic code had ftrace_stub not always being
called when ftrace is off. This causes the static tracer to always save
and restore functions. But it also showed that when function tracing is
running, the function graph tracer can not. We should always check to see
if function graph tracing is running even if the function tracer is running
too. The function tracer code is not the only one that uses the hook to
function mcount.

Cc: Markos Chandras <Markos.Chandras@imgtec.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
arch/x86/kernel/mcount_64.S