ftrace: Fix function tracing recursion self test
authorSteven Rostedt <srostedt@redhat.com>
Fri, 2 Nov 2012 21:01:20 +0000 (17:01 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 23 Jan 2013 04:37:58 +0000 (23:37 -0500)
commit9640388b63556b4cfecbb5aaf91a5c99d272f429
tree517d07d5f3d1e10aa795fe334db40adf0321922f
parent6350379452ccaeaa71734adf57dec2ebc9207849
ftrace: Fix function tracing recursion self test

The function tracing recursion self test should not crash
the machine if the resursion test fails. If it detects that
the function tracing is recursing when it should not be, then
bail, don't go into an infinite recursive loop.

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