diff options
Diffstat (limited to 'tools/perf/util/vdso.h')
| -rw-r--r-- | tools/perf/util/vdso.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/tools/perf/util/vdso.h b/tools/perf/util/vdso.h index 0f76e7caf6f8..af9d6929a215 100644 --- a/tools/perf/util/vdso.h +++ b/tools/perf/util/vdso.h | |||
| @@ -7,12 +7,21 @@ | |||
| 7 | 7 | ||
| 8 | #define VDSO__MAP_NAME "[vdso]" | 8 | #define VDSO__MAP_NAME "[vdso]" |
| 9 | 9 | ||
| 10 | #define DSO__NAME_VDSO "[vdso]" | ||
| 11 | |||
| 10 | static inline bool is_vdso_map(const char *filename) | 12 | static inline bool is_vdso_map(const char *filename) |
| 11 | { | 13 | { |
| 12 | return !strcmp(filename, VDSO__MAP_NAME); | 14 | return !strcmp(filename, VDSO__MAP_NAME); |
| 13 | } | 15 | } |
| 14 | 16 | ||
| 15 | struct dso *vdso__dso_findnew(struct list_head *head); | 17 | struct dso; |
| 16 | void vdso__exit(void); | 18 | |
| 19 | bool dso__is_vdso(struct dso *dso); | ||
| 20 | |||
| 21 | struct machine; | ||
| 22 | struct thread; | ||
| 23 | |||
| 24 | struct dso *vdso__dso_findnew(struct machine *machine, struct thread *thread); | ||
| 25 | void vdso__exit(struct machine *machine); | ||
| 17 | 26 | ||
| 18 | #endif /* __PERF_VDSO__ */ | 27 | #endif /* __PERF_VDSO__ */ |
