]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tools/power turbostat: Allow adding PMT counters directly by sysfs path
authorPatryk Wlazlyn <patryk.wlazlyn@linux.intel.com>
Thu, 12 Dec 2024 18:11:34 +0000 (19:11 +0100)
committerLen Brown <len.brown@intel.com>
Mon, 27 Jan 2025 17:35:22 +0000 (11:35 -0600)
commit83fbeb9f9776cd044d36af606127f56206337bab
treedb6bd6c987cf4822497bfeee1adf3152f2c88073
parent16ce467875ef8572b82f9af30fcf7b2f65fc2e95
tools/power turbostat: Allow adding PMT counters directly by sysfs path

Allow user to add PMT counters by either identifying the source with:
  guid=%u,seq=%u
or, since this patch, with direct sysfs path:
  path=%s, for example path=/sys/class/intel_pmt/telem5

In the later case, the guid and sequence number will be infered
by turbostat.

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