From: Stephane Eranian <eranian@hpl.hp.com>
To: linux-ia64@vger.kernel.org
Subject: Re: perfmon not counting idle?
Date: Mon, 17 Oct 2005 09:32:17 +0000 [thread overview]
Message-ID: <20051017093217.GA2446@frankl.hpl.hp.com> (raw)
Matt,
On Tue, Oct 18, 2005 at 03:44:53AM +1000, Matt Chapman wrote:
> I am probably missing something blatantly obvious due to lack of sleep,
> but, I can't seem to get perfmon to include the idle task.
>
> I booted with nohalt and even commented out pm_idle and safe_halt in the
> idle loop, to try and make sure that power management isn't kicking in,
> but I still get numbers that seem to exclude idle time.
>
> torrone:~# pfmon --system-wide
> <press ENTER to stop session>
> ... run for a few seconds ...
> CPU0 69597 CPU_CYCLES
>
By default pfmon measures only at the user level (pl3). If you want
kernel+user you need to add -k. You can tune priv levels per event
using --prev-levels.
next reply other threads:[~2005-10-17 9:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-17 9:32 Stephane Eranian [this message]
2005-10-17 17:44 ` perfmon not counting idle? Matt Chapman
2005-10-18 7:49 ` Matt Chapman
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=20051017093217.GA2446@frankl.hpl.hp.com \
--to=eranian@hpl.hp.com \
--cc=linux-ia64@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