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

Commit 1533a8d6 authored by Raghavendra Rao Ananta's avatar Raghavendra Rao Ananta Committed by Gerrit - the friendly Code Review server
Browse files

perf: Avoid cpu hotplug during event deletion



The event will not be successfully deleted if there was a CPU
hotplug going on. The change prevents that from happening.
Moreover, the change also disables the ARM PMU irq when the CPU
is coming down. This is due to the reason that the deletion
of perf event depends on freeing the irqs, which would happen
if the irq is disabled in the first place.

Change-Id: Ifc3860f723f76d1560e2c9d3fd507e5ead20462a
Signed-off-by: default avatarRaghavendra Rao Ananta <rananta@codeaurora.org>
parent 8cf945f5
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