tools/power turbostat: disable "cpuidle" invocation counters, by default
authorLen Brown <len.brown@intel.com>
Sun, 6 Apr 2025 18:29:57 +0000 (14:29 -0400)
committerLen Brown <len.brown@intel.com>
Sun, 6 Apr 2025 18:29:57 +0000 (14:29 -0400)
commitec4acd3166d8a7a03b059d01b9c6f11a658e833f
treedabf972148afaa54b1d0846e298af039a9f27fea
parent994633894f208a0151baaee1688ab3c431912553
tools/power turbostat: disable "cpuidle" invocation counters, by default

Create "pct_idle" counter group, the sofware notion of residency
so it can now be singled out, independent of other counter groups.

Create "cpuidle" group, the cpuidle invocation counts.
Disable "cpuidle", by default.

Create "swidle" = "cpuidle" + "pct_idle".
Undocument "sysfs", the old name for "swidle", but keep it working
for backwards compatibilty.

Create "hwidle", all the HW idle counters

Modify "idle", enabled by default
"idle" = "hwidle" + "pct_idle" (and now excludes "cpuidle")

Signed-off-by: Len Brown <len.brown@intel.com>
tools/power/x86/turbostat/turbostat.8
tools/power/x86/turbostat/turbostat.c