fix a kmap leak in virtio_console
[linux/fpc-iii.git] / tools / perf / util / vdso.h
blob0f76e7caf6f8e1357e2358736bcb779da7449d1e
1 #ifndef __PERF_VDSO__
2 #define __PERF_VDSO__
4 #include <linux/types.h>
5 #include <string.h>
6 #include <stdbool.h>
8 #define VDSO__MAP_NAME "[vdso]"
10 static inline bool is_vdso_map(const char *filename)
12 return !strcmp(filename, VDSO__MAP_NAME);
15 struct dso *vdso__dso_findnew(struct list_head *head);
16 void vdso__exit(void);
18 #endif /* __PERF_VDSO__ */