From: Chris Freehill <cfreehill@gmail.com>
To: linux-perf-users@vger.kernel.org
Subject: Re: perf stat -e cycles -p <pid> sleep 10
Date: Tue, 27 Nov 2012 12:25:41 +0000 (UTC) [thread overview]
Message-ID: <loom.20121127T131426-104@post.gmane.org> (raw)
In-Reply-To: 50B461F4.10003@core.kaist.ac.kr
Chulmin Kim <cmkim <at> core.kaist.ac.kr> writes:
> What kind of distributions you've tested?
>
> In my case(ubuntu 11.04), it works correctly.
>
> I suspect your machine's PMU status, wrong installation, or missing perf
> kernel module.
Thank you for the reply.
I had tested on Ubuntu 12.04 and the Freescale Linux version (power arch--
P5020). Upon your response, I retested, and you are correct. It does work as
expected on Ubuntu, so there must be an issue on the other version only.
I will investigate some of the leads you suggested. I am a newbie with perf
and perf development, so the suggestions help.
Thanks again.
next prev parent reply other threads:[~2012-11-27 12:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-26 22:50 perf stat -e cycles -p <pid> sleep 10 Chris Freehill
2012-11-27 6:47 ` Chulmin Kim
2012-11-27 12:25 ` Chris Freehill [this message]
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.20121127T131426-104@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).