trace: fix logic to start/stop counting
authorSteven Rostedt <srostedt@redhat.com>
Thu, 22 Jan 2009 19:26:15 +0000 (14:26 -0500)
committerIngo Molnar <mingo@elte.hu>
Fri, 23 Jan 2009 10:10:45 +0000 (11:10 +0100)
commitb06a830183b610c0a88c29a92feb7991a867ab46
treec90c58ddf3e34a8f19c31bdd9b6522f987bad279
parent94523e818f283d3c69f621406f633afff46dbf82
trace: fix logic to start/stop counting

The logic in the tracing_start/stop code prevents the WARN_ON
from ever detecting if a start/stop pair was mismatched.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/trace.c