]> git.dujemihanovic.xyz Git - linux.git/commit
tools/power turbostat: read RAPL counters via perf
authorPatryk Wlazlyn <patryk.wlazlyn@linux.intel.com>
Tue, 5 Mar 2024 11:27:27 +0000 (12:27 +0100)
committerLen Brown <len.brown@intel.com>
Tue, 9 Apr 2024 18:04:05 +0000 (14:04 -0400)
commit05a2f07db8883b027c0b4a475fcc586278922b8d
treec20fc3b4b30d2c85d52cacbd7bcf69f469bd5741
parentebf8449caba1df2eb6ba0b465fe15dc06d3b9135
tools/power turbostat: read RAPL counters via perf

Some of the future Intel platforms will require reading the RAPL
counters via perf and not MSR. On current platforms we can still read
them using both ways.

Signed-off-by: Patryk Wlazlyn <patryk.wlazlyn@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
tools/power/x86/turbostat/turbostat.c