Re: [RFC PATCH 22/22 -v2] Trace irq disabled critical timings

Daniel Walker
2008-01-10T04:00:13Z

On Wed, 2008-01-09 at 18:29 -0500, Steven Rostedt wrote:
> + /* Don't trace irqs off for idle */
> + stop_critical_timings();
> idle();
> + start_critical_timings();

Is there another way to hook into the idle routine? Right above these
lines there is a call to "enter_idle()" which I'm wondering about ..
Would be nice to have some sort of generic hook or method for this ..

Daniel