]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tools/power turbostat: Allow mapping multiple PMT files with the same GUID
authorPatryk Wlazlyn <patryk.wlazlyn@linux.intel.com>
Fri, 6 Dec 2024 10:22:00 +0000 (11:22 +0100)
committerLen Brown <len.brown@intel.com>
Mon, 27 Jan 2025 17:35:22 +0000 (11:35 -0600)
commit16ce467875ef8572b82f9af30fcf7b2f65fc2e95
tree54a10273c515cb6185b04752d549e9bb0ffdf652
parent4265a86582eaa224d171328be0c71e2a7ccd194f
tools/power turbostat: Allow mapping multiple PMT files with the same GUID

Some platforms may expose multiple telemetry files identified with the
same GUID. Interpreting it correctly, to associate given counter with a
CPU, core or a package requires more metadata from the user.

Parse and create  ordered, linked list of those PMT aggregators, so that
we can identify specific aggregator with GUID + sequence number.

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