MIPS: Trace: Don't trace irqsoff for the idle process
authorWu Zhangjin <wuzhangjin@gmail.com>
Tue, 9 Mar 2010 16:27:28 +0000 (00:27 +0800)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 12 Apr 2010 16:26:10 +0000 (17:26 +0100)
commit7a7ac952d5217b2f568e5ef91ac39b572e166f24
treefc7313875b4d5e8e833da49b35d8b0ea2959d508
parentabe5b417fb4a52e9510fdb5a16e722e91bf89e92
MIPS: Trace: Don't trace irqsoff for the idle process

Like x86 did in arch/x86/kernel/{process_32.c,process_64.c}, also don't
trace irqsoff for idle.

If there's no useful work to be done, we don't care about the irqsoff
duration. If we trace the idle process, the max duration of irqsoff will
be the idle time and make the irqsoff tracer useless.

Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
Cc: linux-mips@linux-mips.org
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@redhat.com>
Patchwork: http://patchwork.linux-mips.org/patch/1044/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/process.c