]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7c6b1264b844b4c0e28479aede57472f98bcecc1
tree6d312c4fc2c35c057e77f257ec9b82be0ce27cce
parentc340898113af5ba858168aa59f500c9d84f44ed8
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