perf support for x86 guest/host-only bits
Status from this message: I queued bits, and they should hopefully find their way to tip:perf/core
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest9 patches 9 repliesApplied
- v19 patches 13 repliesSuperseded
Changes in v2 from the cover letter
- move perf_guest_switch_msr array to perf code.
- small cosmetic changes.
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | perf, core: Introduce attrs to count in either host or guest modeinclude/ | +4 | 0 replies | |
| 2/9 | perf, amd: Use GO/HO bits in perf-ctrarch/ arch/ | +16 | 0 replies | |
| 3/9 | perf, tools: Add support for guest/host-only profilingtools/ | +12 | 0 replies | |
| 4/9 | perf, tools: Fix copy&paste error in perf-kvm option descriptiontools/ | +1 | 1 reply | |
| 5/9 | perf, tools: Do guest-only counting in perf-kvm by defaulttools/ tools/ tools/ +2 more | +17 | 0 replies | |
| 6/9 | perf, intel: Use GO/HO bits in perf-ctrarch/ arch/ arch/ | +113 | 1 reply | |
| 7/9 | KVM, VMX: add support for switching of PERF_GLOBAL_CTRLarch/ | +93 | 0 replies | |
| 8/9 | KVM, VMX: Add support for guest/host-only profilingarch/ | +21 | 3 replies | |
| 9/9 | KVM, VMX: Check for automatic switch msr table overflow.arch/ | +5 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/9] perf support for x86 guest/host-only bits
This patch series consists of Joerg series named "perf support for amd guest/host-only bits v2" [1] rebased to 3.1.0-rc7 and in addition, support for intel cpus for the same functionality.
[1] https://lkml.org/lkml/2011/6/17/171
Changelog:
v1->v2
- move perf_guest_switch_msr array to perf code.
- small cosmetic changes.
Gleb Natapov (4):
perf, intel: Use GO/HO bits in perf-ctr
KVM, VMX: add support for switching of PERF_GLOBAL_CTRL KVM, VMX: Add support for guest/host-only profiling KVM, VMX: Check for automatic switch msr table overflow.
Joerg Roedel (5):
perf, core: Introduce attrs to count in either host or guest mode perf, amd: Use GO/HO bits in perf-ctr
perf, tools: Add support for guest/host-only profiling perf, tools: Fix copy&paste error in perf-kvm option description perf, tools: Do guest-only counting in perf-kvm by default
arch/x86/include/asm/perf_event.h | 15 ++++ arch/x86/kernel/cpu/perf_event.c | 14 ++++ arch/x86/kernel/cpu/perf_event_amd.c | 13 +++ arch/x86/kernel/cpu/perf_event_intel.c | 90 +++++++++++++++++++++- arch/x86/kvm/vmx.c | 131 +++++++++++++++++++++++++++++--- include/linux/perf_event.h | 5 +- tools/perf/builtin-kvm.c | 5 +- tools/perf/util/event.c | 8 ++ tools/perf/util/event.h | 2 + tools/perf/util/evlist.c | 5 +- tools/perf/util/parse-events.c | 15 +++- 11 files changed, 282 insertions(+), 21 deletions(-)
Signature · 1 line
1.7.5.3