lpm-levels: Fix cpu idle trace and stats event
In the event that the cpu needs to be rescheduled for another task
before it enters psci sleep, the stats and trace exit events are
considered without the enter events. Fix this issue by moving enter
events before the cpu gets scheduled.
Change-Id: I8e477c434d218960b48aab4e61cacf99476b607f
Signed-off-by:
Archana Sathyakumar <asathyak@codeaurora.org>
Loading
Please register or sign in to comment