[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20091023205711.GB8356@elte.hu>
Date: Fri, 23 Oct 2009 22:57:11 +0200
From: Ingo Molnar <mingo@...e.hu>
To: Corey Ashford <cjashfor@...ux.vnet.ibm.com>
Cc: Peter Zijlstra <a.p.zijlstra@...llo.nl>, paulus@....ibm.com,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: perf_events: zero time running and enabled, but non-zero count
* Corey Ashford <cjashfor@...ux.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists