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
3 files changed