]> 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)
commite8f634d1f841fd606de52b2bb49af35aa3f3e6fd
tree74d3484ab036aa7d50473562bb995d6a6ab95b74
parent265c82b694069291415a8050b4f905817c6f2ff1
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