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

Frederic Weisbecker
2010-05-19T09:13:36Z

On Wed, May 19, 2010 at 11:12:28AM +0200, Peter Zijlstra wrote:
> 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@chello.nl>
> > > Date: Wed May 19 10:52:27 CEST 2010
> > >
> > >
> > >
> > > Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
> > > ---
> >
> >
> >
> > 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.

Ah good point.