Skip to content
Snippets Groups Projects
Commit 264231c5 authored by Yabin Cui's avatar Yabin Cui
Browse files

perf: disable events across cpu hotplug.

Enabling events across cpu hotplug can cause kernel panic, one
situation is like below:

-> enable perf event on one cpu
-> the cpu is offlined
-> the perf event is released, but failed to bring up the cpu.
   so the event is freed, but still registered in the pmu.
-> the cpu is online, and try to access the freed event.

Bug: 28964480
Change-Id: I395091af177b3307d7b4c3236c2e4b249b06c053
parent 9ce821db
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment