[lkml]   [2011]   [May]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 2/3] introduce intel_rapl driver
    On Thu, May 26, 2011 at 11:43:23AM +0200, Peter Zijlstra wrote:
    > That's just wrong.. the reason you're wanting to have this timer is to
    > avoid the RAPL MSRs from overflowing and you loosing offsets, right?
    > But the above is actually forcing the event to create samples on a
    > totally unrelated time base.
    > RAPL should fail to create a sampling event since it doesn't have the
    > capability to trigger overflow interrupts based on its events.
    > If you want a timer, add one, but don't do this.
    > If you expect you actually want to sample, use this event as part of a
    > group and add a sampling event in there and use PERF_FORMAT_GROUP, Matt
    > was working on patches to make perf-record capable of this.

    Yep, I have some unfinished patches around here somewhere...


    OK, they're in this repository on the perf/group-events branch,


    Obviously since I last touched them in November of last year they're
    more than likely not going to apply cleanly to tip, and perhaps more
    importantly, I don't think I ever submitted them to LKML for review.

    Rui, I'll try to look at your patch series over the weekend and get my
    sampling patches into a state where they can be submitted for review
    and used by the intel_rapl driver. Does that sound OK?

    Or if you want to take a more proactive approach, you're welcome to
    finish and submit them ;-)

    Matt Fleming, Intel Open Source Technology Center

     \ /
      Last update: 2011-05-26 12:57    [W:0.020 / U:2.104 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site