aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/perf_event.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/perf_event.h')
-rw-r--r--include/linux/perf_event.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h
index 0b521fc8f5b0..f1f853a9d5eb 100644
--- a/include/linux/perf_event.h
+++ b/include/linux/perf_event.h
@@ -597,12 +597,12 @@ struct perf_mmap_data {
597 atomic_t events; /* event_id limit */ 597 atomic_t events; /* event_id limit */
598 598
599 atomic_long_t head; /* write position */ 599 atomic_long_t head; /* write position */
600 atomic_long_t done_head; /* completed head */
601 600
602 atomic_t lock; /* concurrent writes */
603 atomic_t wakeup; /* needs a wakeup */ 601 atomic_t wakeup; /* needs a wakeup */
604 atomic_t lost; /* nr records lost */ 602 atomic_t lost; /* nr records lost */
605 603
604 atomic_t nest; /* nested writers */
605
606 long watermark; /* wakeup watermark */ 606 long watermark; /* wakeup watermark */
607 607
608 struct perf_event_mmap_page *user_page; 608 struct perf_event_mmap_page *user_page;
@@ -807,7 +807,6 @@ struct perf_output_handle {
807 unsigned long offset; 807 unsigned long offset;
808 int nmi; 808 int nmi;
809 int sample; 809 int sample;
810 int locked;
811}; 810};
812 811
813#ifdef CONFIG_PERF_EVENTS 812#ifdef CONFIG_PERF_EVENTS