From: Steven Rostedt (Red Hat) Date: Mon, 24 Nov 2014 19:58:17 +0000 (-0500) Subject: ftrace/x86: Have static function tracing always test for function graph X-Git-Tag: omap-for-v3.20/drop-legacy-3517~138^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62a207d748dd9224140a634786b274fdb6ece0b9;p=pandora-kernel.git 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 Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed