From: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
To: Avi Kivity <avi@redhat.com>,
Arnaldo Carvalho de Melo <acme@infradead.org>
Cc: Marcelo Tosatti <mtosatti@redhat.com>,
Ingo Molnar <mingo@elte.hu>, David Ahern <dsahern@gmail.com>,
LKML <linux-kernel@vger.kernel.org>, KVM <kvm@vger.kernel.org>
Subject: [PATCH v5 0/3] KVM: perf: kvm events analysis tool
Date: Tue, 06 Mar 2012 16:55:44 +0800 [thread overview]
Message-ID: <4F55D110.2020609@linux.vnet.ibm.com> (raw)
Changlong:
Thanks to David's review, there are some changes:
- add kvm-events compile-depend files to tools/perf/MANIFEST
- fix some typos and little clean up
- rebase it on -tip tree
The output example is following:
#./perf kvm-events report --event mmio --vcpu 3
Analyze events for VCPU 3:
MMIO Access Samples Samples% Time% Avg time
0xfee00380:W 29688 61.16% 64.52% 3.37us ( +- 0.86% )
0xfee00300:W 6285 12.95% 20.06% 4.95us ( +- 2.34% )
0xfee00300:R 6285 12.95% 8.08% 1.99us ( +- 0.59% )
0xfee00310:W 6285 12.95% 7.34% 1.81us ( +- 6.76% )
Total Samples:48543, Total events handled time:155156.31us.
next reply other threads:[~2012-03-06 8:55 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-06 8:55 Xiao Guangrong [this message]
2012-03-06 8:56 ` [PATCH 1/3] KVM: x86: export svm/vmx exit code and vector code to userspace Xiao Guangrong
2012-03-06 8:57 ` [PATCH 2/3] KVM: x86: trace mmio begin and complete Xiao Guangrong
2012-03-06 8:58 ` [PATCH 3/3] KVM: perf: kvm events analysis tool Xiao Guangrong
2012-03-06 9:07 ` [PATCH v5 0/3] " Ingo Molnar
2012-03-06 10:42 ` Xiao Guangrong
2012-03-06 17:12 ` Ingo Molnar
2012-03-07 7:56 ` Xiao Guangrong
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=4F55D110.2020609@linux.vnet.ibm.com \
--to=xiaoguangrong@linux.vnet.ibm.com \
--cc=acme@infradead.org \
--cc=avi@redhat.com \
--cc=dsahern@gmail.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=mtosatti@redhat.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;
as well as URLs for NNTP newsgroup(s).