vdso.h 352 B

123456789101112131415161718
  1. #ifndef __PERF_VDSO__
  2. #define __PERF_VDSO__
  3. #include <linux/types.h>
  4. #include <string.h>
  5. #include <stdbool.h>
  6. #define VDSO__MAP_NAME "[vdso]"
  7. static inline bool is_vdso_map(const char *filename)
  8. {
  9. return !strcmp(filename, VDSO__MAP_NAME);
  10. }
  11. struct dso *vdso__dso_findnew(struct list_head *head);
  12. void vdso__exit(void);
  13. #endif /* __PERF_VDSO__ */