]> Gentwo Git Trees - linux/.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>
Wed, 15 Jan 2025 01:05:20 +0000 (19:05 -0600)
commitc3a591e8f7dac754cb80b68296eccd845ee86172
treedb6bd6c987cf4822497bfeee1adf3152f2c88073
parent312e56ea38fe8efb8aa4bd2eca77f2f8156ae8d5
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