1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __LIBPERF_MMAP_H
3 #define __LIBPERF_MMAP_H
10 LIBPERF_API void perf_mmap__consume(struct perf_mmap *map);
11 LIBPERF_API int perf_mmap__read_init(struct perf_mmap *map);
12 LIBPERF_API void perf_mmap__read_done(struct perf_mmap *map);
13 LIBPERF_API union perf_event *perf_mmap__read_event(struct perf_mmap *map);
15 #endif /* __LIBPERF_MMAP_H */