]> git.baikalelectronics.ru Git - kernel.git/commit
tracing/selftest: Add a WARN_ON() if a tracer test fails
authorSteven Rostedt <srostedt@redhat.com>
Mon, 18 Jun 2012 13:28:16 +0000 (09:28 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Thu, 28 Jun 2012 17:52:14 +0000 (13:52 -0400)
commit18467eb92d52599636d5b4adfd12d5cc3eaee2b6
tree60a26df229aa1187f1c75871431ef9a92c255a75
parentc2de27a58d0adc3b463cca09ca33bfdbae3d4d33
tracing/selftest: Add a WARN_ON() if a tracer test fails

Add a WARN_ON() output on test failures so that they are easier to detect
in automated tests. Although, the WARN_ON() will not print if the test
causes the system to crash, obviously.

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