tracing: Have event with function tracer check error return
authorSteven Rostedt <srostedt@redhat.com>
Mon, 23 May 2011 19:27:46 +0000 (15:27 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Thu, 26 May 2011 02:13:39 +0000 (22:13 -0400)
commit17bb615ad4f8d2d2c0f02794d27d7f83e0009ef4
tree6d312c4fc2c35c057e77f257ec9b82be0ce27cce
parenta1cd6173596c6f7d1f0b41ac7d33ecf03c581edc
tracing: Have event with function tracer check error return

The self tests for event tracer does not check if the function
tracing was successfully activated. It needs to before it continues
the tests, otherwise the wrong errors may be reported.

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