[lkml]   [2009]   [Dec]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH v3 1/5] perf_event: introduce 'inject' event and get HZ

    Peter Zijlstra wrote:
    > On Tue, 2009-12-29 at 13:21 +0800, Xiao Guangrong wrote:
    >> 'inject' event is a very useful feature and it's suggested by Ingo
    >> [ See ]
    > I really dislike the name, event injection to me would be like a write()
    > interface where you provide the actual event data to be stuffed in the
    > output stream.

    Yes, it like write and it writes something form kernel to perf.
    And, i think this name is suitable for it's doing that injects an
    'artificial' event, it's well if you have other name for it :-)

    > This just seems like a very weird way of getting data out. A kind of
    > like sysconf() but done very strange.

    It's since some parameter is only used by perf, suce as HZ in this patch and
    'relocation offset' in my other patchset, it also well if has better way to
    do it :-)


     \ /
      Last update: 2009-12-30 10:41    [W:0.020 / U:5.752 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site