ftrace: Do not test frame pointers if -mfentry is used
authorSteven Rostedt <[email protected]>
Wed, 9 Feb 2011 18:27:22 +0000 (13:27 -0500)
committerSteven Rostedt <[email protected]>
Thu, 23 Aug 2012 15:25:29 +0000 (11:25 -0400)
commit781d06248234e221edb560a18461d65808a8a942
tree99e4dcca5af9de75b5beb37a73d3250905613757
parenta2546fae01124fb8063747439300fcf39bac033a
ftrace: Do not test frame pointers if -mfentry is used

The function graph has a test to check if the frame pointer is
corrupted, which can happen with various options of gcc with mcount.
But this is not an issue with -mfentry as -mfentry does not need nor use
frame pointers for function graph tracing.

Link: http://lkml.kernel.org/r/[email protected]
Acked-by: H. Peter Anvin <[email protected]>
Acked-by: Ingo Molnar <[email protected]>
Cc: Andi Kleen <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
kernel/trace/trace_functions_graph.c