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)
commit05cbbf643b8eea1be21082c53cdb856d1dc6d765
tree74d3484ab036aa7d50473562bb995d6a6ab95b74
parent34600f0e9c33c9cd48ae87448205f51332b7d5a0
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