Commit b5ca6879 authored by Ashwin Chaugule's avatar Ashwin Chaugule
Browse files

Perf: Save and restore counters through powercollapse



Update the active perf counter data structs with the most recent
values of the counters before going into powercollapse and restore
the corresponding hardware counters with these values when coming
out of it.

This change fixes a bug where the counter outputs show wild swings
when CPU power collapse is enabled.

Change-Id: I9c4ff4d4504df5b50c33a796c605126448c440cb
Signed-off-by: default avatarAshwin Chaugule <ashwinc@codeaurora.org>
parent 37c78782
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment