diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/perf_event.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h index 13a1eb3a2a2d..f936a1e51f29 100644 --- a/include/linux/perf_event.h +++ b/include/linux/perf_event.h | |||
| @@ -176,6 +176,7 @@ struct perf_event; | |||
| 176 | #define PERF_PMU_CAP_NO_NMI 0x02 | 176 | #define PERF_PMU_CAP_NO_NMI 0x02 |
| 177 | #define PERF_PMU_CAP_AUX_NO_SG 0x04 | 177 | #define PERF_PMU_CAP_AUX_NO_SG 0x04 |
| 178 | #define PERF_PMU_CAP_AUX_SW_DOUBLEBUF 0x08 | 178 | #define PERF_PMU_CAP_AUX_SW_DOUBLEBUF 0x08 |
| 179 | #define PERF_PMU_CAP_EXCLUSIVE 0x10 | ||
| 179 | 180 | ||
| 180 | /** | 181 | /** |
| 181 | * struct pmu - generic performance monitoring unit | 182 | * struct pmu - generic performance monitoring unit |
| @@ -196,6 +197,7 @@ struct pmu { | |||
| 196 | 197 | ||
| 197 | int * __percpu pmu_disable_count; | 198 | int * __percpu pmu_disable_count; |
| 198 | struct perf_cpu_context * __percpu pmu_cpu_context; | 199 | struct perf_cpu_context * __percpu pmu_cpu_context; |
| 200 | atomic_t exclusive_cnt; /* < 0: cpu; > 0: tsk */ | ||
| 199 | int task_ctx_nr; | 201 | int task_ctx_nr; |
| 200 | int hrtimer_interval_ms; | 202 | int hrtimer_interval_ms; |
| 201 | 203 | ||
