Re: [PATCH v2 2/2] perf: Userspace event

From: Ingo Molnar
Date: Fri Sep 26 2014 - 07:24:34 EST



* Pawel Moll <pawel.moll@xxxxxxx> wrote:

> On Fri, 2014-09-26 at 07:21 +0100, Namhyung Kim wrote:
>
> > It looks like what trace-marker in ftrace does.. We might
> > connect output of the trace marker into a perf event somehow.
>
> I can probably trace_marker's write handler do the same as the
> new prctl() would do. [...]

Please keep this new facility separate, so that !ftrace kernels
that have perf events enabled still have this facility, etc.

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/