linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Chris Freehill <cfreehill@gmail.com>
To: linux-perf-users@vger.kernel.org
Subject: perf stat -e cycles -p <pid> sleep 10
Date: Mon, 26 Nov 2012 22:50:13 +0000 (UTC)	[thread overview]
Message-ID: <loom.20121126T234917-97@post.gmane.org> (raw)

Hi,

Apologies if the answer to this is someplace I have not looked. I've searched 
this list and other sites/FAQ's. 

I've noticed that command listed in the subject line always yields

<not counted> cycles

unless the target process is suspended. I have noticed this with a few different
distributions. Is the fact that the target process has to be suspended at least
once a known design limitation or would it be considered a bug?

Thank you for your help.

Chris

             reply	other threads:[~2012-11-26 22:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-26 22:50 Chris Freehill [this message]
2012-11-27  6:47 ` perf stat -e cycles -p <pid> sleep 10 Chulmin Kim
2012-11-27 12:25   ` Chris Freehill
2012-11-27 13:13     ` Chris Freehill

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=loom.20121126T234917-97@post.gmane.org \
    --to=cfreehill@gmail.com \
    --cc=linux-perf-users@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;
as well as URLs for NNTP newsgroup(s).