ftrace: disable tracing on acpi idle calls
authorSteven Rostedt <rostedt@goodmis.org>
Fri, 25 Jul 2008 22:00:42 +0000 (18:00 -0400)
committerIngo Molnar <mingo@elte.hu>
Sat, 26 Jul 2008 12:42:21 +0000 (14:42 +0200)
The acpi idle waits calls local_irq_save and then uses mwait to go into
idle. The tracer gets reenabled at local_irq_save but does not detect that
the idle allows for wake ups.

This patch adds code to disable the tracing when acpi puts the CPU to idle.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found