summaryrefslogtreecommitdiff
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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/lib/include/internal/mmap.h b/tools/perf/lib/include/internal/mmap.h
index ba1e519c15b9..e25890de6a55 100644
--- a/tools/perf/lib/include/internal/mmap.h
+++ b/tools/perf/lib/include/internal/mmap.h
@@ -29,4 +29,6 @@ struct perf_mmap {
char event_copy[PERF_SAMPLE_MAX_SIZE] __aligned(8);
};
+void perf_mmap__init(struct perf_mmap *map, bool overwrite);
+
#endif /* __LIBPERF_INTERNAL_MMAP_H */