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

    * Corey Ashford <> 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


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