Skip to content
Snippets Groups Projects
user avatar
Daniel Bristot de Oliveira authored
When using idle=poll, the preemptoff tracer is always showing
the idle task as the culprit for long latencies. That happens
because critical timings are not stopped before idle loop. This
patch stops critical timings before entering the idle loop,
starting it again after the idle loop.

This problem does not affect the irqsoff tracer because
interruptions are enabled before entering the idle loop.

Signed-off-by: default avatarDaniel Bristot de Oliveira <bristot@redhat.com>
Reviewed-by: default avatarLuis Claudio R. Goncalves <lgoncalv@redhat.com>
Acked-by: default avatarSteven Rostedt <rostedt@goodmis.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/10fc3705874aef11dbe152a068b591a7be1899b4.1444314899.git.bristot@redhat.com


Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
9babcd79
History
Name Last commit Last update