mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>,
	paulus@au1.ibm.com, LKML <linux-kernel@vger.kernel.org>
Subject: Re: perf_events: zero time running and enabled, but non-zero count
Date: Fri, 23 Oct 2009 22:57:11 +0200	[thread overview]
Message-ID: <20091023205711.GB8356@elte.hu> (raw)
In-Reply-To: <4AE21655.6040403@linux.vnet.ibm.com>


* 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

  parent reply	other threads:[~2009-10-23 20:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-23 19:16 Corey Ashford
     [not found] ` <20091023193246.GA3139@elte.hu>
     [not found]   ` <4AE21655.6040403@linux.vnet.ibm.com>
2009-10-23 20:57     ` Ingo Molnar [this message]
2009-10-26  2:37       ` Corey Ashford
2009-10-30  0:13         ` Corey Ashford
2009-11-02 21:20         ` Frederic Weisbecker
2009-11-03  0:27           ` Corey Ashford

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091023205711.GB8356@elte.hu \
    --to=mingo@elte.hu \
    --cc=a.p.zijlstra@chello.nl \
    --cc=cjashfor@linux.vnet.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=paulus@au1.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®