cpufreq_times_record_transition() is not called when fast switch is enabled, leading /proc/uid_time_in_state to attribute all time on a cluster to a single frequency. To fix this, add a call to cpufreq_times_record_transition() in the fast switch path. Also revise cpufreq_times_record_transition() to simplify the new call and more closely align with cpufreq_stats_record_transition(). Bug: 121287027 Bug: 127641090 Test: /proc/uid_time_in_state shows times for more than one freq per cluster Change-Id: Ib63d19006878fafb88475e401ef243bdd8b11979 Signed-off-by: Connor O'Brien <connoro@google.com> |
||
|---|---|---|
| .. | ||
| acpi | ||
| asm-generic | ||
| clocksource | ||
| crypto | ||
| drm | ||
| dt-bindings | ||
| keys | ||
| kvm | ||
| linux | ||
| math-emu | ||
| media | ||
| memory | ||
| misc | ||
| net | ||
| pcmcia | ||
| ras | ||
| rdma | ||
| scsi | ||
| soc | ||
| sound | ||
| target | ||
| trace | ||
| uapi | ||
| video | ||
| xen | ||