mirror of
https://github.com/torvalds/linux.git
synced 2026-05-29 17:43:52 +02:00
The cpuidle sysfs monitor printed the previous sample’s counter value in cpuidle_stop() instead of the freshly read one. The dprint line used previous_count[cpu][state] while current_count[cpu][state] had just been populated. This caused misleading debug output. Switch the logging to current_count so the post-interval snapshot matches the displayed value. Link: https://lore.kernel.org/r/20251202044012.3844790-1-kaushlendra.kumar@intel.com Signed-off-by: Kaushlendra Kumar <kaushlendra.kumar@intel.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org> |
||
|---|---|---|
| .. | ||
| amd_fam14h_idle.c | ||
| cpuidle_sysfs.c | ||
| cpupower-monitor.c | ||
| cpupower-monitor.h | ||
| hsw_ext_idle.c | ||
| idle_monitors.def | ||
| idle_monitors.h | ||
| mperf_monitor.c | ||
| nhm_idle.c | ||
| rapl_monitor.c | ||
| snb_idle.c | ||