Re: [PATCH 1/7] perf: introduce raw_type attribute to specify thetype of a raw sample
From: Ingo Molnar
Date: Thu May 20 2010 - 12:55:47 EST
* Robert Richter <robert.richter@xxxxxxx> wrote:
> On 20.05.10 06:37:39, Peter Zijlstra wrote:
>
> > So yeah, you might as well expose it as a whole separate PMU using Lin's
> > stuff.
>
> This seems to be the most promising alternative to raw_type. But it's also
> much more bloated requiring sysfs and additional file descriptors.
Not really, fds are really cheap on Linux, and in any case it's only needed
when the event is created - can be closed afterwards.
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/