Messages in this thread | | | Date | Thu, 20 May 2010 18:55:01 +0200 | From | Ingo Molnar <> | Subject | Re: [PATCH 1/7] perf: introduce raw_type attribute to specify the type of a raw sample |
| |
* Robert Richter <robert.richter@amd.com> 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
| |