]> git.baikalelectronics.ru Git - kernel.git/commit
tracing: Fix selftest function recursion accounting
authorSteven Rostedt <srostedt@redhat.com>
Wed, 23 Jan 2013 04:35:11 +0000 (23:35 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 23 Jan 2013 04:35:11 +0000 (23:35 -0500)
commitbcffac7c224f2ea32780b6cf55cad9815cd29c97
tree74d3484ab036aa7d50473562bb995d6a6ab95b74
parent79c528caa818a1c3550f0119d7f96af8cc6623b8
tracing: Fix selftest function recursion accounting

The test that checks function recursion does things differently
if the arch does not support all ftrace features. But that really
doesn't make a difference with how the test runs, and either way
the count variable should be 2 at the end.

Currently the test wrongly fails for archs that don't support all
the ftrace features.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace_selftest.c