Skip to content

KVM: perf: kvm events analysis tool

Xiao Guangrong kvm lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest3 patches 4 repliesIn review
  2. v43 patches 6 repliesSuperseded

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3KVM: x86: export svm/vmx exit code and vector code to userspacearch/x86/include/asm/kvm_host.h arch/x86/include/asm/svm.h arch/x86/include/asm/vmx.h +1 more+233 -2220 replies
2/3KVM: x86: trace mmio begin and completearch/x86/kvm/x86.c include/trace/events/kvm.h+51 -70 replies
3/3KVM: perf: kvm events analysis tooltools/perf/MANIFEST tools/perf/Makefile tools/perf/builtin-kvm-events.c +6 more+919 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.

Read the v5 thread

Cover letter [PATCH v5 0/3] KVM: perf: kvm events analysis tool

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.