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)
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>

No differences found