]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - tools/perf/lib/include/internal/mmap.h
libperf: Add 'overwrite' to 'struct perf_mmap'
[linux.git] / tools / perf / lib / include / internal / mmap.h
index ebf5b93754fdfa39b216e041000edb93337146c0..47c09f375fb61160e1cb2c7530213de14740d3ba 100644 (file)
@@ -4,6 +4,7 @@
 
 #include <linux/refcount.h>
 #include <linux/types.h>
+#include <stdbool.h>
 
 /**
  * struct perf_mmap - perf's ring buffer mmap details
@@ -19,6 +20,7 @@ struct perf_mmap {
        u64              prev;
        u64              start;
        u64              end;
+       bool             overwrite;
 };
 
 #endif /* __LIBPERF_INTERNAL_MMAP_H */