blob: 9ab0738b6752b1fb8c9aafdd677a84c6cda11145 [file] [log] [blame]
Jiri Olsa7dbf4dc2012-09-10 18:50:19 +02001#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
10static inline bool is_vdso_map(const char *filename)
11{
12 return !strcmp(filename, VDSO__MAP_NAME);
13}
14
Adrian Hunter2a030682014-07-22 16:17:53 +030015struct machine;
16
17struct dso *vdso__dso_findnew(struct machine *machine);
Jiri Olsa7dbf4dc2012-09-10 18:50:19 +020018void vdso__exit(void);
19
20#endif /* __PERF_VDSO__ */