public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: David Ahern <dsahern@gmail.com>
Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>,
	LKML <linux-kernel@vger.kernel.org>,
	Peter Zijlstra <a.p.zijlstra@chello.nl>
Subject: Re: perf: h/w counters not counted and no error/info reported to user
Date: Mon, 30 May 2011 10:22:05 +0200	[thread overview]
Message-ID: <20110530082205.GL27557@elte.hu> (raw)
In-Reply-To: <4DDFBD83.3020105@gmail.com>


* David Ahern <dsahern@gmail.com> wrote:

> 
> 
> On 05/27/2011 03:50 AM, Ingo Molnar wrote:
> > 
> > * David Ahern <dsahern@gmail.com> wrote:
> > 
> >> By default (tip-perf-core) perf-stat enables a number of H/W counters:
> >>
> >> perf stat  -- sleep 1
> > 
> > did you mean to do 'perf stat -a sleep 1' ?
> 
> Adding the -a has its own problems. It blocks reading from fd=0 
> (stdin); I have to type Ctrl-D to see the results. The FD array 
> gets initialized to 0 and some case is not erroring out or setting 
> the fd.

Ok, that's a bug (and you sent the fix for it already) - weird that i 
havent seen this before, i use perf stat -a sleep 1 type of analysis 
all the time.

Thanks,

	Ingo

      parent reply	other threads:[~2011-05-30  8:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-26 22:10 perf: h/w counters not counted and no error/info reported to user David Ahern
2011-05-27  6:31 ` Corey Ashford
2011-05-27  9:50 ` Ingo Molnar
2011-05-27 15:04   ` David Ahern
2011-05-27 16:36     ` David Ahern
2011-05-30 21:04       ` Ashwin Chaugule
2011-05-31  0:41         ` David Ahern
2011-05-30  8:22     ` Ingo Molnar [this message]

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=20110530082205.GL27557@elte.hu \
    --to=mingo@elte.hu \
    --cc=a.p.zijlstra@chello.nl \
    --cc=acme@ghostprotocols.net \
    --cc=dsahern@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /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