lkml.org 
[lkml]   [2009]   [Apr]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] tracing/filters: allow event filters to be set only when not tracing


On Mon, 6 Apr 2009, Paul E. McKenney wrote:
>
> Hmmm... Do the start_critical_timings() and stop_critical_timings()
> functions have anything to do with ftrace()?

Yep.

>
> It does not look like I can just bury RCU-idle controls in these
> functions, given that they are also invoked around call_console_drivers(),
> but if all the idle loops are surrounded by stop_critical_timings() and
> start_critical_timings(), that would ease location of all the idle
> loops. ;-)

They are for the irqsoff tracer. Several archs will disable interrupts and
call an assembly "halt" type instruction that can be woken up by
interrupts. But this skips the irqs off check, and we end up with irqsoff
showing the idle loop with huge interrupts off latencies.

I'm not sure they are included in all archs. They may be.

-- Steve



\
 
 \ /
  Last update: 2009-04-07 02:37    [W:0.075 / U:0.832 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site