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

Steven Rostedt
2008-01-10T14:46:15Z

On Wed, 9 Jan 2008, Daniel Walker wrote:
>
> 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 ..

enter_idle isn't generic.

-- Steve