android_kernel_oneplus_msm8998/kernel/events
Raghavendra Rao Ananta ea2ee83c92 perf: Cancel the mux hrtimer during CPU hotplug to avoid migration
The current design of hrtimers migrates the pinned timers to a
different CPU upon its hotplug. However, perf-core needs to
maintain the mux-hrtimers on a per CPU basis. That is, each
hrtimer carries the context for that particular CPU and would
lose this context if it gets migrated to a different CPU. As a
result, cancel the hrtimer for the CPU that's about to go down
and restart it (if required) when the perf-events are being created.

Change-Id: I7a1d0456208855e3a99a7d49e59c6dae811d146e
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
[mojha@codeaurora.org: Resolved merge conflict and added missing
 `cpuctx` variable to avoid build failure]
Signed-off-by: Mukesh Ojha <mojha@codeaurora.org>
2019-04-01 21:07:20 -07:00
..
callchain.c perf: Remove superfluous allocation error check 2018-05-16 10:06:50 +02:00
core.c perf: Cancel the mux hrtimer during CPU hotplug to avoid migration 2019-04-01 21:07:20 -07:00
hw_breakpoint.c Merge android-4.4.127 (d6bbe8b) into msm-4.4 2018-04-20 12:27:57 +05:30
internal.h perf/core: Free AUX pages in unmap path 2016-06-01 15:42:47 -06:00
Makefile ftrace: allow architectures to specify ftrace compile options 2015-01-29 09:19:19 +01:00
ring_buffer.c Merge android-4.4.132 (46155cc) into msm-4.4 2018-05-22 15:23:13 +05:30
uprobes.c Merge remote-tracking branch 'lts/linux-4.4.y' into linux-linaro-lsk-v4.4 2016-09-20 10:17:00 +08:00