Merge tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty...
[linux/fpc-iii.git] / tools / perf / util / vdso.h
blobd97da1616f0c5b658d8c1846b0285835b3a3478c
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 #define DSO__NAME_VDSO "[vdso]"
11 #define DSO__NAME_VDSO32 "[vdso32]"
12 #define DSO__NAME_VDSOX32 "[vdsox32]"
14 static inline bool is_vdso_map(const char *filename)
16 return !strcmp(filename, VDSO__MAP_NAME);
19 struct dso;
21 bool dso__is_vdso(struct dso *dso);
23 struct machine;
24 struct thread;
26 struct dso *vdso__dso_findnew(struct machine *machine, struct thread *thread);
27 void vdso__exit(struct machine *machine);
29 #endif /* __PERF_VDSO__ */