Re: [rfc 3/3] perf, x86: P4 PMU -- export ABI part of event configto userspace

From: Peter Zijlstra
Date: Wed Nov 24 2010 - 03:32:10 EST


On Wed, 2010-11-24 at 01:46 +0300, Cyrill Gorcunov wrote:
> plain text document attachment (x86-perf-export-abi)
> Due to tight 64 bit size of event config field (where we have to track
> pretty lot of info during event lifetime) some bits are to be exported
> via header into userspace.
>
> Signed-off-by: Cyrill Gorcunov <gorcunov@xxxxxxxxxx>
> CC: Lin Ming <ming.m.lin@xxxxxxxxx>
> CC: Stephane Eranian <eranian@xxxxxxxxxx>
> CC: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
> ---
>
> Note that I don't like much the idea to export anything into userspace
> but it seems there is no other choise. So there is a minimum which should
> be exported.


Could you say what exactly is exposed to userspace and why?
--
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/