Re: [PATCH 1/2] perf: Add persistent event facilities

From: Ingo Molnar
Date: Fri May 18 2012 - 08:00:03 EST



* Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:

> On Fri, 2012-05-18 at 13:03 +0200, Borislav Petkov wrote:
> > > - you allow an arbitrary place in debugfs; this might make finding
> > > them 'interesting'. Should we put them all in the same place?
> >
> > My take on this is that we want to be able to make the same events we
> > have now, persistent. Basically not trace for the duration of a child
> > process but in a process-agnostic way, system-wide.
>
> This would argue against per-task persistent events..

Yeah, 'persistency' is something that's per CPU at minimum.

> Note the plural there, it might be very desirable to allow
> multiple events into a single persistent buffer.

very, very, very much so. One (per CPU) buffer, with many events
multiplexed into it.

Thanks,

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