powerpc: ftrace, do not latency trace idle
authorSteven Rostedt <srostedt@redhat.com>
Sat, 15 Nov 2008 00:21:19 +0000 (16:21 -0800)
committerSteven Rostedt <srostedt@redhat.com>
Thu, 20 Nov 2008 18:51:15 +0000 (10:51 -0800)
commit6d07bb47354174a9b52d3b03f9e38b069a93d341
tree90a3842276fceaee61067c2791eb63a457ad0fc3
parentee2f6cc7f9ea2542ad46070ed62ba7aa04d08871
powerpc: ftrace, do not latency trace idle

Impact: fix for irq off latency tracer

When idle is called, interrupts are disabled, but the idle function
will still wake up on an interrupt. The problem is that the interrupt
disabled latency tracer will take this call to idle as a latency.

This patch disables the latency tracing when going into idle.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
arch/powerpc/kernel/idle.c