tracing: Fix preemptirqsoff tracer to not stop at preempt off
authorSteven Rostedt <srostedt@redhat.com>
Thu, 22 Sep 2011 15:11:51 +0000 (11:11 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Thu, 22 Sep 2011 15:11:51 +0000 (11:11 -0400)
commite36de1de4a5f95b7cb3e5c37d10e6bbb91833ef0
tree69eab1dc497ec8cb25dfbe6bd98da7656a50c878
parent6249687f76b69cc0b2ad34636f4a18d693ef3262
tracing: Fix preemptirqsoff tracer to not stop at preempt off

If irqs are disabled when preemption count reaches zero, the
preemptirqsoff tracer should not flag that as the end.

When interrupts are enabled and preemption count is not zero
the preemptirqsoff correctly continues its tracing.

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