linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Peipei Wang <wangpeipei.90@gmail.com>
To: perf group <linux-perf-users@vger.kernel.org>
Subject: Can perf be used to record cycles or instructions on Virtual Machine
Date: Wed, 26 Jun 2013 15:13:42 -0400	[thread overview]
Message-ID: <CAEuYUeoCAOJAP4xvKWsFf4e-VJ0BuooO=i8_1qadva-1YFii5w@mail.gmail.com> (raw)

Hi, all.
I got a new problem.

When I use perf to get CPI( cycles per instruction) on a Virtual
Machine, I receive the message that
cycles and instructions are not supported.

However, other events like page-faults or context-switches can be
supported well.
I don't know why. So I guess I can't user perf to record a certain
sort of performance events on Virtual Machine.

Is my guess correct??  What kind of performance events in hell  aren't
supported?
Thanks for all your help.



Yours,
Wang Peipei

             reply	other threads:[~2013-06-26 19:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-26 19:13 Peipei Wang [this message]
2013-06-26 19:20 ` Can perf be used to record cycles or instructions on Virtual Machine David Ahern

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='CAEuYUeoCAOJAP4xvKWsFf4e-VJ0BuooO=i8_1qadva-1YFii5w@mail.gmail.com' \
    --to=wangpeipei.90@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).