aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/perf_counter.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/perf_counter.h')
-rw-r--r--include/linux/perf_counter.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/perf_counter.h b/include/linux/perf_counter.h
index 6a384f04755a..de70a10b5ec8 100644
--- a/include/linux/perf_counter.h
+++ b/include/linux/perf_counter.h
@@ -178,8 +178,9 @@ struct perf_counter_attr {
178 mmap : 1, /* include mmap data */ 178 mmap : 1, /* include mmap data */
179 comm : 1, /* include comm data */ 179 comm : 1, /* include comm data */
180 freq : 1, /* use freq, not period */ 180 freq : 1, /* use freq, not period */
181 inherit_stat : 1, /* per task counts */
181 182
182 __reserved_1 : 53; 183 __reserved_1 : 52;
183 184
184 __u32 wakeup_events; /* wakeup every n events */ 185 __u32 wakeup_events; /* wakeup every n events */
185 __u32 __reserved_2; 186 __u32 __reserved_2;
@@ -602,6 +603,7 @@ struct perf_counter_context {
602 int nr_counters; 603 int nr_counters;
603 int nr_active; 604 int nr_active;
604 int is_active; 605 int is_active;
606 int nr_stat;
605 atomic_t refcount; 607 atomic_t refcount;
606 struct task_struct *task; 608 struct task_struct *task;
607 609