aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/perf_event.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h
index fa04537df55b..22155ef3b362 100644
--- a/include/linux/perf_event.h
+++ b/include/linux/perf_event.h
@@ -570,7 +570,8 @@ struct perf_event;
570struct pmu { 570struct pmu {
571 struct list_head entry; 571 struct list_head entry;
572 572
573 int *pmu_disable_count; 573 int * __percpu pmu_disable_count;
574 struct perf_cpu_context * __percpu pmu_cpu_context;
574 575
575 /* 576 /*
576 * Fully disable/enable this PMU, can be used to protect from the PMI 577 * Fully disable/enable this PMU, can be used to protect from the PMI
@@ -808,6 +809,7 @@ struct perf_event {
808 * Used as a container for task events and CPU events as well: 809 * Used as a container for task events and CPU events as well:
809 */ 810 */
810struct perf_event_context { 811struct perf_event_context {
812 struct pmu *pmu;
811 /* 813 /*
812 * Protect the states of the events in the list, 814 * Protect the states of the events in the list,
813 * nr_active, and the list: 815 * nr_active, and the list: