Re: [tip:perf/core] perf/ftrace: Optimize perf/tracepointinteraction for single events

From: Peter Zijlstra
Date: Wed May 19 2010 - 05:13:11 EST


On Wed, 2010-05-19 at 11:06 +0200, Frederic Weisbecker wrote:
> On Wed, May 19, 2010 at 10:58:45AM +0200, Peter Zijlstra wrote:
> > How about something like the below?
> >
> >
> > ---
> > Subject: perf, trace: Remove IRQ-disable from perf/tracepoint interaction
> > From: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
> > Date: Wed May 19 10:52:27 CEST 2010
> >
> >
> >
> > Signed-off-by: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
> > ---
>
>
>
> Looks fine if we don't have nested irqs.

Well, I was thinking the per-context recursion thing would sort that
out. We can have 1 event per context in-flight.
--
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/