diff options
| author | Pu Wen <[email protected]> | 2019-08-31 02:20:31 +0000 |
|---|---|---|
| committer | Len Brown <[email protected]> | 2019-08-31 18:48:39 +0000 |
| commit | c1c10cc77883932abdb7b103687ecbb01e80bef9 (patch) | |
| tree | 8ff227871808a1aae2e6b26709c594400e4fbf7c /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | tools/power turbostat: Fix caller parameter of get_tdp_amd() (diff) | |
| download | kernel-c1c10cc77883932abdb7b103687ecbb01e80bef9.tar.gz kernel-c1c10cc77883932abdb7b103687ecbb01e80bef9.zip | |
tools/power turbostat: Add support for Hygon Fam 18h (Dhyana) RAPL
Commit 9392bd98bba760be96ee ("tools/power turbostat: Add support for AMD
Fam 17h (Zen) RAPL") and the commit 3316f99a9f1b68c578c5 ("tools/power
turbostat: Also read package power on AMD F17h (Zen)") add AMD Fam 17h
RAPL support.
Hygon Family 18h(Dhyana) support RAPL in bit 14 of CPUID 0x80000007 EDX,
and has MSRs RAPL_PWR_UNIT/CORE_ENERGY_STAT/PKG_ENERGY_STAT. So add Hygon
Dhyana Family 18h support for RAPL.
Already tested on Hygon multi-node systems and it shows correct per-core
energy usage and the total package power.
Signed-off-by: Pu Wen <[email protected]>
Reviewed-by: Calvin Walton <[email protected]>
Signed-off-by: Len Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
