aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/lib/include/internal/mmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/lib/include/internal/mmap.h')
-rw-r--r--tools/perf/lib/include/internal/mmap.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/tools/perf/lib/include/internal/mmap.h b/tools/perf/lib/include/internal/mmap.h
new file mode 100644
index 000000000000..2ef051901f48
--- /dev/null
+++ b/tools/perf/lib/include/internal/mmap.h
@@ -0,0 +1,14 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef __LIBPERF_INTERNAL_MMAP_H
+#define __LIBPERF_INTERNAL_MMAP_H
+
+/**
+ * struct perf_mmap - perf's ring buffer mmap details
+ *
+ * @refcnt - e.g. code using PERF_EVENT_IOC_SET_OUTPUT to share this
+ */
+struct perf_mmap {
+ void *base;
+};
+
+#endif /* __LIBPERF_INTERNAL_MMAP_H */