Messages in this thread | | | Date | Mon, 6 Apr 2009 20:34:20 -0400 (EDT) | From | Steven Rostedt <> | Subject | Re: [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
| |