lkml.org 
[lkml]   [2009]   [Oct]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: perf_events: zero time running and enabled, but non-zero count

    * Corey Ashford <cjashfor@linux.vnet.ibm.com> wrote:

    >> Btw., you might want to consider putting such testcases into a new
    >> 'perf test' kind of utility (under tools/perf/builtin-test.c) that
    >> does various tests such as reading a count and validating the
    >> time-running/time-enabled values - so that we can see any bugs
    >> directly.
    >
    > I'll see if I can put the test case in some sort of acceptable format
    > like that. Maybe we can use this one test case as the starting point
    > for builtin-test.c.

    Yeah. Feel free to add just something minimal that solves your problem.
    Others will add their testcases too i'm sure, once the basic command is
    there.

    Ingo


    \
     
     \ /
      Last update: 2009-10-23 22:59    [W:0.045 / U:1.868 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site