Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
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
10#define DSO__NAME_VDSO "[vdso]"
11
12static inline bool is_vdso_map(const char *filename)
13{
14 return !strcmp(filename, VDSO__MAP_NAME);
15}
16
17struct dso;
18
19bool dso__is_vdso(struct dso *dso);
20
21struct machine;
22struct thread;
23
24struct dso *vdso__dso_findnew(struct machine *machine, struct thread *thread);
25void vdso__exit(struct machine *machine);
26
27#endif /* __PERF_VDSO__ */