|
|
Subscribe / Log in / New account

KVM: perf: kvm events analysis tool

From:  Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
To:  Avi Kivity <avi@redhat.com>, Arnaldo Carvalho de Melo <acme@infradead.org>
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>
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>
Archive‑link:  Article

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.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds