]>
Commit | Line | Data |
---|---|---|
7dbf4dcf JO |
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 | ||
51682dc7 AH |
10 | #define DSO__NAME_VDSO "[vdso]" |
11 | ||
7dbf4dcf JO |
12 | static inline bool is_vdso_map(const char *filename) |
13 | { | |
14 | return !strcmp(filename, VDSO__MAP_NAME); | |
15 | } | |
16 | ||
51682dc7 AH |
17 | struct dso; |
18 | ||
19 | bool dso__is_vdso(struct dso *dso); | |
20 | ||
2a03068c | 21 | struct machine; |
5835edda | 22 | struct thread; |
2a03068c | 23 | |
5835edda | 24 | struct dso *vdso__dso_findnew(struct machine *machine, struct thread *thread); |
d027b640 | 25 | void vdso__exit(struct machine *machine); |
7dbf4dcf JO |
26 | |
27 | #endif /* __PERF_VDSO__ */ |