From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xiao Guangrong Subject: [PATCH v5 0/3] KVM: perf: kvm events analysis tool Date: Tue, 06 Mar 2012 16:55:44 +0800 Message-ID: <4F55D110.2020609@linux.vnet.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Marcelo Tosatti , Ingo Molnar , David Ahern , LKML , KVM To: Avi Kivity , Arnaldo Carvalho de Melo Return-path: Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org 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.