]> git.baikalelectronics.ru Git - kernel.git/commit
tracing: use nowakeup version of commit for function event trace tests
authorSteven Rostedt <srostedt@redhat.com>
Mon, 20 Apr 2009 22:16:44 +0000 (18:16 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Mon, 20 Apr 2009 22:16:44 +0000 (18:16 -0400)
commit9d6a5cc5f2ab84d5e49f9e500daf36eab03306c4
tree36f28716865fdac826848f23160d7a25e332f8f5
parent5374b3c1d386c358a5c3561675ba9983a43a355c
tracing: use nowakeup version of commit for function event trace tests

The startup tests for the event tracer also runs with the function
tracer enabled. The "wakeup" version of the trace commit was used
which can grab spinlocks. If a task was preempted by an NMI
that called a function being traced, it could deadlock due to the
function tracer trying to grab the same lock.

Thanks to Frederic Weisbecker for pointing out where the bug was.

Reported-by: Ingo Molnar <mingo@elte.hu>
Reported-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace_events.c