Re: [PATCH 0/3] tracing/function-graph-tracer: signal interrupttriggering on output

From: Peter Zijlstra
Date: Mon Dec 15 2008 - 03:03:40 EST


On Sat, 2008-12-13 at 08:49 +0100, Ingo Molnar wrote:
> * FrÃdÃric Weisbecker <fweisbec@xxxxxxxxx> wrote:
>
> > > applied to tip/tracing/function-graph-tracer, thanks Frederic!
> > >
> > > The output looks really nice.
> > >
> > > Ingo
> > >
> >
> > Thanks :-)
> >
> > If anyone has other needs or suggestions about this tracer, don't
> > hesitate to request it.
> > I remember Peter suggested that the preempt count could be output.
>
> that reminds me ... did you know about hardirq_count()? We could use it
> to detect IRQ entries in a more generic way, instead of the section
> trick?

hardirq_count() is set from __irq_enter(), which is too late, we've
already had all the ARCH irq code before that.



--
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/