Messages in this thread | | | Date | Thu, 20 May 2010 19:07:12 +0200 | From | Robert Richter <> | Subject | Re: [PATCH 1/7] perf: introduce raw_type attribute to specify the type of a raw sample |
| |
On 20.05.10 12:55:01, Ingo Molnar wrote: > 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.
I was wondering if we could get the perf event fd directly with the open("/sys/...") command? This would be really easy to set up.
-Robert
-- Advanced Micro Devices, Inc. Operating System Research Center email: robert.richter@amd.com
| |