From: David Ahern <dsahern@gmail.com>
To: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>, mingo@kernel.org
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] perf kvm record: Change the default value of perf_guest to 0.
Date: Thu, 14 Nov 2013 13:38:56 -0700 [thread overview]
Message-ID: <528534E0.3030209@gmail.com> (raw)
In-Reply-To: <1384465918-14085-1-git-send-email-yangds.fnst@cn.fujitsu.com>
On 11/14/13, 2:51 PM, Dongsheng Yang wrote:
> Currently, we can not record the event counters of host to perf.data.host.
> Example:
> perf kvm --host record -a sleep 1
> [ perf record: Woken up 1 times to write data ]
> [ perf record: Captured and wrote 0.625 MB perf.data.guest (~27290 samples) ]
perf kvm by definition wants --guest enabled. Host profiling is done
with just 'perf record'; no need for the kvm layer at all. If you really
want to go through perf-kvm to record host events disable guest actions:
$ perf kvm --host --no-guest record -a sleep 1
[ perf record: Woken up 1 times to write data ]
[ perf record: Captured and wrote 0.029 MB perf.data.host (~1255 samples) ]
David
next prev parent reply other threads:[~2013-11-14 20:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-14 21:51 [PATCH] perf kvm record: Change the default value of perf_guest to 0 Dongsheng Yang
2013-11-14 20:38 ` David Ahern [this message]
2013-11-15 20:03 ` Dongsheng Yang
-- strict thread matches above, loose matches on Subject: below --
2013-11-14 21:29 Dongsheng Yang
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=528534E0.3030209@gmail.com \
--to=dsahern@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=yangds.fnst@cn.fujitsu.com \
/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