Re: [PATCH] trace: stop critical timings before idle loop on idle=poll

2015-10-09 Thread Steven Rostedt
On Thu, 8 Oct 2015 15:36:06 -0300 Daniel Bristot de Oliveira wrote: > 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 bef

[PATCH] trace: stop critical timings before idle loop on idle=poll

2015-10-08 Thread Daniel Bristot de Oliveira
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 proble