Re: [patch] trace: Add user-space event tracing/injection

From: Peter Zijlstra
Date: Wed Nov 17 2010 - 08:31:43 EST


On Wed, 2010-11-17 at 14:10 +0100, Frederic Weisbecker wrote:
>
>
>
> Why not using write() on the perf event fd?
> So that you don't only limit to a custom new simple event (which should
> match most needs) but you can also inject whatever existing event you like.

Because you don't have the perf event fd, the monitoring application has
it.
--
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/