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

Skip to content
Commit 573979de authored by Patrick Fay's avatar Patrick Fay
Browse files

perf: Add support for exclude_idle attribute



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: I61f7a7474856abf67ac6dfd9e531702072e108a5
Signed-off-by: default avatarPatrick Fay <pfay@codeaurora.org>
parent 1f0f95c5
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