mirror-linux/tools/power/cpupower/utils
Kaushlendra Kumar ff72619e11 tools/power cpupower: Show C0 in idle-info dump
`cpupower idle-info -o` skipped C0 because the loop began at 1:

  before:
    states:
      C1 ... latency[002] residency[00002]
      C2 ... latency[010] residency[00020]
      C3 ... latency[133] residency[00600]

  after:
    states:
      C0 ... latency[000] residency[00000]
      C1 ... latency[002] residency[00002]
      C2 ... latency[010] residency[00020]
      C3 ... latency[133] residency[00600]

Start iterating at index 0 so the idle report mirrors sysfs and
includes C0 stats.

Link: https://lore.kernel.org/r/20251202065403.1492807-1-kaushlendra.kumar@intel.com
Signed-off-by: Kaushlendra Kumar <kaushlendra.kumar@intel.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
2025-12-15 12:33:29 -07:00
..
helpers cpupower: Allow control of boost feature on non-x86 based systems with boost support. 2025-08-15 10:49:14 -06:00
idle_monitor cpupower: idle_monitor: fix incorrect value logged after stop 2025-12-15 12:33:28 -07:00
builtin.h
cpufreq-info.c tools/cpupower: Fix inverted APERF capability check 2025-12-15 12:33:28 -07:00
cpufreq-set.c
cpuidle-info.c tools/power cpupower: Show C0 in idle-info dump 2025-12-15 12:33:29 -07:00
cpuidle-set.c cpupower: Fix cpuidle_set to accept only numeric values for idle-set operation. 2023-07-18 16:07:08 -06:00
cpupower-info.c
cpupower-set.c cpupower: Allow control of boost feature on non-x86 based systems with boost support. 2025-08-15 10:49:14 -06:00
cpupower.c
powercap-info.c
version-gen.sh