perf/x86: various RAPL improvements and fixes
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 3 repliesIn review
- v12 patches 3 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | perf/x86: fix active_entry initializationinclude/ kernel/ | +4 | 2 replies | |
| 2/2 | perf/x86: add RAPL PP1 energy counter supportarch/ | +24 | 0 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Maria Dimakopoulou |
|---|---|
| 1/2 | |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] perf/x86: various RAPL improvements and fixes
This short patch series provides the following improvements to the RAPL support for perf_events:
- support for RAPL PP1 energy counter
- fix struct perf_event active_list field initialization
The PP1 counter maps to the builtin graphic card for client processors. that is why it is called energy-gpu.
The new energy event is:
- name: power/energy-gpu/
- code: 0x4
- unit: Joules
- scaling factor: 2^-32 Joules.
In v2, we renamed energy-pp1 to energy-gpu. We dropped the Haswell Celeron patch because it is committed already. But we add a fix for the broken initialization of the active_entry list.
Stephane Eranian (2):
perf/x86: fix active_entry initialization
perf/x86: add RAPL PP1 energy counter support
arch/x86/kernel/cpu/perf_event_intel_rapl.c | 31 +++++++++++++++++++++------ include/linux/perf_event.h | 6 ++---- kernel/events/core.c | 2 ++ 3 files changed, 28 insertions(+), 11 deletions(-)
Signature · 1 line
1.7.9.5