function_graph selftest fails with !DYNAMIC

From: Rabin Vincent
Date: Wed Nov 02 2011 - 11:03:42 EST


The function_graph selftest fails when CONFIG_DYNAMIC_FTRACE is not set
(tested on x86-64) on current kernels:

[ 0.300124] Testing tracer function: PASSED
[ 0.446092] Testing tracer function_graph: .. no entries found ..FAILED!

Bisecting goes back to this commit:

2b499381bc50ede01b3d8eab164ca2fad00655f0 is the first bad commit
commit 2b499381bc50ede01b3d8eab164ca2fad00655f0
Author: Steven Rostedt <srostedt@xxxxxxxxxx>
Date: Tue May 3 22:49:52 2011 -0400

ftrace: Have global_ops store the functions that are to be traced

This is a step towards each ops structure defining its own set
of functions to trace. As the current code with pid's and such
are specific to the global_ops, it is restructured to be used
with the global ops.

Signed-off-by: Steven Rostedt <rostedt@xxxxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/