Commit 95d9a09c authored by zhengding chen's avatar zhengding chen Committed by Matthias Männich
Browse files

ANDROID: cpufreq: times: record fast switch frequency transitions



cpufreq_times_record_transition() is not called when fast switch is
enabled, leading /proc/[pid]/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.

Test: /proc/[pid]/time_in_state shows times for more than one freq per
cluster

Bug: 204726690
Bug: 261354916
Bug: 261569056
Signed-off-by: default avatarzhengding chen <chenzhengding@oppo.com>
Change-Id: Ief47ffb49fcc7fbf5408eea3056930e8791d2820
(cherry picked from commit 8ff9996c)
parent 805297e4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment