2019-07-27 20:07:44 +00:00
|
|
|
/* 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;
|
2019-07-27 20:27:55 +00:00
|
|
|
int mask;
|
2019-07-27 20:31:17 +00:00
|
|
|
int fd;
|
2019-07-27 20:07:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* __LIBPERF_INTERNAL_MMAP_H */
|