xref: /linux/tools/perf/util/vdso.h (revision f884ab15afdc5514e88105c92a4e2e1e6539869a)
1 #ifndef __PERF_VDSO__
2 #define __PERF_VDSO__
3 
4 #include <linux/types.h>
5 #include <string.h>
6 #include <stdbool.h>
7 
8 #define VDSO__MAP_NAME "[vdso]"
9 
10 static inline bool is_vdso_map(const char *filename)
11 {
12 	return !strcmp(filename, VDSO__MAP_NAME);
13 }
14 
15 struct dso *vdso__dso_findnew(struct list_head *head);
16 void vdso__exit(void);
17 
18 #endif /* __PERF_VDSO__ */
19