]> git.infradead.org Git - users/hch/misc.git/commit
tools/power turbostat: Add early support for PMT counters
authorPatryk Wlazlyn <patryk.wlazlyn@linux.intel.com>
Mon, 22 Jul 2024 20:11:03 +0000 (22:11 +0200)
committerLen Brown <len.brown@intel.com>
Fri, 26 Jul 2024 18:35:49 +0000 (14:35 -0400)
commitf0e4ed752fda6997b41917c94a5478b340178001
tree37f6b2c078c64881f540a999c5720a70419cd8c4
parentf3065f9c3917fa9279992623a2f3282f1fd43515
tools/power turbostat: Add early support for PMT counters

Allows users to read Intel PMT (Platform Monitoring Technology)
counters, providing interface similar to one used to add MSR and perf
counters. Because PMT is exposed as a raw MMIO range, without metadata,
user has to supply the necessary information to find and correctly
display the requested counter.

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