Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c5a15ee4 authored by Rohit Gupta's avatar Rohit Gupta
Browse files

perf: Improve idle handling for perf events



Use the exclude_idle attribute of the perf events to avoid reading
PMUs of idle CPUs. The counter values are updated when CPU enters
idle and the saved value is returned when the idle CPU is queried
for that event provided the attribute is set in the perf_event.

Change-Id: Ia4f7b8106afdf53ee6f31049b5ef799afbda8480
Signed-off-by: default avatarRohit Gupta <rohgup@codeaurora.org>
parent 50e0173f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment