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)
commitdcf309974555d17019c6a8e1a425238f17990b71
tree0bc67a9918bae618111c417bca6188faff37d219
parent1986b0cb1671ea39178b4e2b00461109728fc935
ftrace: disable tracing on acpi idle calls

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>
drivers/acpi/processor_idle.c