Re: [PATCH 1/2] perf: Add persistent events

From: Borislav Petkov
Date: Sun May 23 2010 - 14:34:04 EST


From: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Date: Sun, May 23, 2010 at 08:15:13PM +0200

> On Sat, 2010-05-22 at 21:00 +0200, Borislav Petkov wrote:
> > Register and enable events marked as persistent right after perf events
> > has initialized.
> >
> > Not-yet-signed-off-by: Borislav Petkov <bp@xxxxxxxxx>
>
> Nah, this is totally wrong.
>
> A persistent event would simply be a regular event, but created by the
> kernel and not tied to a file-desc's lifetime.

So you're saying the trace_mce_record() tracepoint for example should
be created completely internally in the kernel and cease to be a
tracepoint? Will it still be able to be selected by perf -e?

Please elaborate.

--
Regards/Gruss,
Boris.
--
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/