[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.053 / U:6.660 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site