Preparatory perf patches for KVM PMU support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 35 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | perf: add context field to perf_eventarch/ arch/ arch/ +9 more | +44 | 33 replies | |
| 2/3 | x86, perf: add constraints for architectural PMU v1arch/ | +18 | 1 reply | |
| 3/3 | perf: export perf_event_refresh() to modulesinclude/ kernel/ | +7 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] Preparatory perf patches for KVM PMU support
The following three patches pave the way for KVM in-guest performance monitoring. One is a perf API improvement, another fixes the constraints for the version 1 architectural PMU (which we will emulate), and the third adds an export that KVM will use.
Please consider for merging; this will make further work on the KVM PMU easier.
Avi Kivity (3):
perf: add context field to perf_event
x86, perf: add constraints for architectural PMU v1
perf: export perf_event_refresh() to modules
arch/arm/kernel/ptrace.c | 3 ++- arch/powerpc/kernel/ptrace.c | 2 +- arch/sh/kernel/ptrace_32.c | 3 ++- arch/x86/kernel/cpu/perf_event_intel.c | 23 ++++++++++++++++++----- arch/x86/kernel/kgdb.c | 2 +- arch/x86/kernel/ptrace.c | 3 ++- drivers/oprofile/oprofile_perf.c | 2 +- include/linux/hw_breakpoint.h | 10 ++++++++-- include/linux/perf_event.h | 9 ++++++++- kernel/events/core.c | 24 +++++++++++++++++------- kernel/events/hw_breakpoint.c | 10 +++++++--- kernel/watchdog.c | 2 +- samples/hw_breakpoint/data_breakpoint.c | 2 +- 13 files changed, 69 insertions(+), 26 deletions(-)
Signature · 1 line
1.7.5.3