summaryrefslogtreecommitdiff
path: root/include/linux/perf_event.h
diff options
context:
space:
mode:
authorNeil Leeder <nleeder@codeaurora.org>2014-10-28 14:44:37 -0400
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:58:09 -0700
commit86cd54bb1953eaebbd8d466672851c545342ead0 (patch)
tree7295fe74a73b524f041579328ff53d51d1fb77f3 /include/linux/perf_event.h
parent0c718959c8264db200f6e8bbdd417c4cc6cadf38 (diff)
perf: support hotplug
Add support for hotplugged cpu cores. Change-Id: I0538ed67f1ad90bbd0510a7ba137cb6d1ad42172 Signed-off-by: Neil Leeder <nleeder@codeaurora.org> [satyap: trivial merge conflict resolution] Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
Diffstat (limited to 'include/linux/perf_event.h')
-rw-r--r--include/linux/perf_event.h2
1 files changed, 2 insertions, 0 deletions
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