]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
tracing: Fix selftest function recursion accounting
authorSteven Rostedt <srostedt@redhat.com>
Wed, 23 Jan 2013 04:35:11 +0000 (23:35 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 May 2013 16:46:20 +0000 (09:46 -0700)
commit19ffe4c3896698b6d565d293a37bde5567d4e1aa
tree8367ada381a0c18b02274f22186e098fdd65be71
parentd1b376a21d474a14e29ae80e007591e01f08963f
tracing: Fix selftest function recursion accounting

commit 05cbbf643b8eea1be21082c53cdb856d1dc6d765 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
kernel/trace/trace_selftest.c