ftrace: add preempt_enable/disable notrace macros
authorSteven Rostedt <srostedt@redhat.com>
Mon, 12 May 2008 19:20:41 +0000 (21:20 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 23 May 2008 18:31:15 +0000 (20:31 +0200)
commit502825282e6f79c975a644afc124432ec1744de4
tree79d26dd2f945358cb3df6716c885978217823f6f
parent7c731e0a495e25e79dc1e9e68772a67a55721a65
ftrace: add preempt_enable/disable notrace macros

The tracer may need to call preempt_enable and disable functions
for time keeping and such. The trace gets ugly when we see these
functions show up for all traces. To make the output cleaner
this patch adds preempt_enable_notrace and preempt_disable_notrace
to be used by tracer (and debugging) functions.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/linux/preempt.h