]> www.infradead.org Git - users/hch/block.git/commit
tools/power turbostat: Include umask=%x in perf counter's config
authorPatryk Wlazlyn <patryk.wlazlyn@linux.intel.com>
Wed, 24 Jul 2024 11:17:30 +0000 (13:17 +0200)
committerLen Brown <len.brown@intel.com>
Fri, 26 Jul 2024 18:36:08 +0000 (14:36 -0400)
commit19d076903b95896ce55c7cc3679f795731591ac6
treee6ef9c39cec299e4ad50c0227ddf208d9e9048ab
parent944264a2a99cc4dd4b10eaa9798b6aab80adf4be
tools/power turbostat: Include umask=%x in perf counter's config

Some counters, like cpu/cache-misses/, expose and require umask=%x
parameter alongside event=%x in the sysfs perf counter's event file.
This change make sure we parse and use it when opening user added
counters.

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