diff options
Diffstat (limited to 'include/linux/perf_counter.h')
-rw-r--r-- | include/linux/perf_counter.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/include/linux/perf_counter.h b/include/linux/perf_counter.h index 4809ae18a940..8bf764fc6220 100644 --- a/include/linux/perf_counter.h +++ b/include/linux/perf_counter.h | |||
@@ -344,10 +344,12 @@ struct file; | |||
344 | 344 | ||
345 | struct perf_mmap_data { | 345 | struct perf_mmap_data { |
346 | struct rcu_head rcu_head; | 346 | struct rcu_head rcu_head; |
347 | int nr_pages; | 347 | int nr_pages; /* nr of data pages */ |
348 | atomic_t wakeup; | 348 | |
349 | atomic_t head; | 349 | atomic_t wakeup; /* POLL_ for wakeups */ |
350 | atomic_t events; | 350 | atomic_t head; /* write position */ |
351 | atomic_t events; /* event limit */ | ||
352 | |||
351 | struct perf_counter_mmap_page *user_page; | 353 | struct perf_counter_mmap_page *user_page; |
352 | void *data_pages[0]; | 354 | void *data_pages[0]; |
353 | }; | 355 | }; |