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

From: Steven Rostedt
Date: Thu Jan 10 2008 - 09:46:16 EST


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/