lkml.org 
[lkml]   [2011]   [Jul]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [RFC] [PATCH] perf: Attaching an event to a specific PMU
    From
    Date
    On Wed, 2011-07-06 at 19:10 +0200, Ingo Molnar wrote:
    >
    > I think Peter suggested it that an open() done in /sys should give us
    > a handle to a given event?

    No, more like the open of a sysfs file could also grab a refcount on the
    module. All it would take is a custom open/close method for sysfs files.
    Now I have no clue how to do that, but that's another issue.

    Also, I really don't see the point. With modular PMUs there's always
    races against unload, just don't do that or live with it.




    \
     
     \ /
      Last update: 2011-07-06 19:17    [W:2.424 / U:0.044 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site