RFC perf pmu interface changes -v4
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest19 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/19 | perf: Fix CPU hotplugkernel/ | +3 | 0 replies | |
| 2/19 | perf: deconstify struct pmuarch/ arch/ arch/ +6 more | +40 | 0 replies | |
| 3/19 | perf: register pmu implementationsarch/ arch/ arch/ +7 more | +488 | 0 replies | |
| 4/19 | perf: Unindent labelskernel/ | +24 | 0 replies | |
| 5/19 | perf: Reduce perf_disable() usagearch/ arch/ arch/ +5 more | +48 | 0 replies | |
| 6/19 | perf: Per PMU disablearch/ arch/ arch/ +6 more | +119 | 0 replies | |
| 7/19 | perf: Default PMU opsinclude/ kernel/ | +57 | 0 replies | |
| 8/19 | perf: Shrink hw_perf_eventinclude/ kernel/ | +6 | 0 replies | |
| 9/19 | perf: Rework the PMU methodsarch/ arch/ arch/ +11 more | +576 | 0 replies | |
| 10/19 | perf: Remove the sysfs bitsarch/ arch/ arch/ +3 more | +5 | 0 replies | |
| 11/19 | perf: Separate find_get_context() from event initializationkernel/ | +35 | 0 replies | |
| 12/19 | perf: Remove the swevent hash-table from the cpu contextinclude/ kernel/ | +58 | 0 replies | |
| 13/19 | perf: Per cpu-context rotation timerinclude/ kernel/ kernel/ | +52 | 6 replies | |
| 14/19 | perf: Per-pmu-per-cpu contextsinclude/ kernel/ | +101 | 0 replies | |
| 15/19 | perf: Move some code aroundkernel/ | +100 | 0 replies | |
| 16/19 | perf: Clean up perf_event_context allocationkernel/ | +26 | 0 replies | |
| 17/19 | perf: Multiple task contextsinclude/ include/ kernel/ | +243 | 0 replies | |
| 18/19 | perf: Provide a separate task context for sweventsinclude/ kernel/ kernel/ | +11 | 0 replies | |
| 19/19 | perf: Optimize context opskernel/ | +6 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC][PATCH 00/19] perf pmu interface changes -v4
These patches prepare the perf code for multiple PMUs.
About the first half of these patches deals with removing all the weak functions, the second half provides per pmu contexts.
New to the first half is Alpha, which got merged into mainline recently.
The second half is completely new and lightly tested, one known breakage is that it currently doesn't allow to mix software and hardware events into a single group (should be fixed soon).
Patches also available in git format for easy testing (tip/master + patches):
git://git.kernel.org/pub/scm/linux/kernel/git/peterz/linux-2.6-perf.git perf-pmu
Head should be baf996bc6d6
---
arch/alpha/kernel/perf_event.c | 113 ++- arch/arm/kernel/perf_event.c | 136 ++- arch/powerpc/kernel/perf_event.c | 164 ++- arch/powerpc/kernel/perf_event_fsl_emb.c | 148 ++- arch/sh/kernel/perf_event.c | 143 ++- arch/sparc/kernel/perf_event.c | 164 ++- arch/x86/kernel/cpu/perf_event.c | 176 ++- arch/x86/kernel/cpu/perf_event_intel.c | 2 +- arch/x86/kernel/cpu/perf_event_intel_ds.c | 2 +- include/linux/ftrace_event.h | 4 +- include/linux/perf_event.h | 113 +- include/linux/sched.h | 9 +- kernel/hw_breakpoint.c | 62 +- kernel/perf_event.c | 2068 +++++++++++++++-------------- kernel/sched.c | 2 - kernel/trace/trace_event_perf.c | 7 +- 16 files changed, 1889 insertions(+), 1424 deletions(-)