From 86cd54bb1953eaebbd8d466672851c545342ead0 Mon Sep 17 00:00:00 2001 From: Neil Leeder Date: Tue, 28 Oct 2014 14:44:37 -0400 Subject: perf: support hotplug Add support for hotplugged cpu cores. Change-Id: I0538ed67f1ad90bbd0510a7ba137cb6d1ad42172 Signed-off-by: Neil Leeder [satyap: trivial merge conflict resolution] Signed-off-by: Satya Durga Srinivasu Prabhala --- include/linux/perf_event.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/linux') diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h index 3e83459c6604..95fd207e63ca 100644 --- a/include/linux/perf_event.h +++ b/include/linux/perf_event.h @@ -234,6 +234,8 @@ struct pmu { atomic_t exclusive_cnt; /* < 0: cpu; > 0: tsk */ int task_ctx_nr; int hrtimer_interval_ms; + u32 events_across_hotplug:1, + reserved:31; /* * Fully disable/enable this PMU, can be used to protect from the PMI -- cgit v1.2.3