Jiri Olsa | 7dbf4dc | 2012-09-10 18:50:19 +0200 | [diff] [blame] | 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 | |
Adrian Hunter | 2a03068 | 2014-07-22 16:17:53 +0300 | [diff] [blame^] | 15 | struct machine; |
| 16 | |
| 17 | struct dso *vdso__dso_findnew(struct machine *machine); |
Jiri Olsa | 7dbf4dc | 2012-09-10 18:50:19 +0200 | [diff] [blame] | 18 | void vdso__exit(void); |
| 19 | |
| 20 | #endif /* __PERF_VDSO__ */ |