1 /* SPDX-License-Identifier: GPL-2.0 */
5 #include <linux/types.h>
9 #define VDSO__MAP_NAME "[vdso]"
11 #define DSO__NAME_VDSO "[vdso]"
12 #define DSO__NAME_VDSO32 "[vdso32]"
13 #define DSO__NAME_VDSOX32 "[vdsox32]"
15 static inline bool is_vdso_map(const char *filename
)
17 return !strcmp(filename
, VDSO__MAP_NAME
);
22 bool dso__is_vdso(struct dso
*dso
);
27 struct dso
*machine__findnew_vdso(struct machine
*machine
, struct thread
*thread
);
28 void machine__exit_vdso(struct machine
*machine
);
30 #endif /* __PERF_VDSO__ */