perf tools: Pass machine to vdso__dso_findnew()
[deliverable/linux.git] / tools / perf / util / vdso.h
CommitLineData
7dbf4dcf
JO
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
10static inline bool is_vdso_map(const char *filename)
11{
12 return !strcmp(filename, VDSO__MAP_NAME);
13}
14
2a03068c
AH
15struct machine;
16
17struct dso *vdso__dso_findnew(struct machine *machine);
7dbf4dcf
JO
18void vdso__exit(void);
19
20#endif /* __PERF_VDSO__ */
This page took 0.106798 seconds and 5 git commands to generate.