tools/power turbostat: re-factor sysfs code
authorLen Brown <len.brown@intel.com>
Sun, 6 Apr 2025 16:53:18 +0000 (12:53 -0400)
committerLen Brown <len.brown@intel.com>
Sun, 6 Apr 2025 16:53:18 +0000 (12:53 -0400)
commit994633894f208a0151baaee1688ab3c431912553
treee9be155019ff0d0b6fe29dec28db09010e0210b2
parentf8b136ef2605c1bf62020462d10e35228760aa19
tools/power turbostat: re-factor sysfs code

Probe cpuidle "sysfs" residency and counts separately,
since soon we will make one disabled on, and the
other disabled off.

Clarify that some BIC (build-in-counters) are actually "groups".
since we're about to re-name some of those groups.

no functional change.

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