]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tools/power turbostat: Extend PMT identification with a sequence number
authorPatryk Wlazlyn <patryk.wlazlyn@linux.intel.com>
Tue, 10 Dec 2024 10:41:58 +0000 (11:41 +0100)
committerLen Brown <len.brown@intel.com>
Mon, 27 Jan 2025 17:35:22 +0000 (11:35 -0600)
commit089134cb0502ba962bce9402ce96e0875876d401
treeb126f07077132241dd2e421bc04caf31e38ed4ea
parent34537ddd208d614dbefeb97823ae1c79e7771588
tools/power turbostat: Extend PMT identification with a sequence number

When platforms expose multiple PMT aggregators with the same GUID, the
only way to identify them and map to specific domain is by reading them
in an order they were exposed via PCIe. Intel PMT kernel driver does
keep the same order and numbers the telemetry directories accordingly.

Use GUID and sequence number (order) to uniquely identify PMT
aggregators.

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