powerpc/perf: Add Performance Monitor Counters to extended regs
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | powerpc/perf: Include PMCs as part of per-cpu cpuhw_events structarch/ | +11 | 0 replies | |
| 2/3 | powerpc/perf: Expose Performance Monitor Counter SPR's as part of extended regsarch/ arch/ arch/ +1 more | +39 | 0 replies | |
| 3/3 | tools/perf: Add perf tools support to expose Performance Monitor Counter SPRs as part of extended regstools/ tools/ tools/ | +34 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] powerpc/perf: Add Performance Monitor Counters to extended regs
Patch set to add Performance Monitor Counter SPR's as part of extended regs in powerpc.
Patch 1/3 saves the PMC values in the perf interrupt handler as part of per-cpu array.
Patch 2/3 adds PMC1 to PMC6 as part of the extended regs mask.
Patch 3/3 includes perf tools side changes to add PMC1 to PMC6 to sample_reg_mask to use with -I? option.
Athira Rajeev (3):
powerpc/perf: Include PMCs as part of per-cpu cpuhw_events struct powerpc/perf: Expose Performance Monitor Counter SPR's as part of
extended regs
tools/perf: Add perf tools support to expose Performance Monitor
Counter SPRs as part of extended regs
arch/powerpc/include/asm/perf_event.h | 2 ++ arch/powerpc/include/uapi/asm/perf_regs.h | 28 +++++++++++++++++++------ arch/powerpc/perf/core-book3s.c | 28 +++++++++++++++++++------ arch/powerpc/perf/perf_regs.c | 13 ++++-------- tools/arch/powerpc/include/uapi/asm/perf_regs.h | 28 +++++++++++++++++++------ tools/perf/arch/powerpc/include/perf_regs.h | 6 ++++++ tools/perf/arch/powerpc/util/perf_regs.c | 6 ++++++ 7 files changed, 84 insertions(+), 27 deletions(-)
Signature · 1 line
1.8.3.1