summaryrefslogtreecommitdiff
path: root/tools/perf/util/vdso.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/vdso.h')
-rw-r--r--tools/perf/util/vdso.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/perf/util/vdso.h b/tools/perf/util/vdso.h
index 7cf1576863a4..be3eb4324c1e 100644
--- a/tools/perf/util/vdso.h
+++ b/tools/perf/util/vdso.h
@@ -7,11 +7,17 @@
#define VDSO__MAP_NAME "[vdso]"
+#define DSO__NAME_VDSO "[vdso]"
+
static inline bool is_vdso_map(const char *filename)
{
return !strcmp(filename, VDSO__MAP_NAME);
}
+struct dso;
+
+bool dso__is_vdso(struct dso *dso);
+
struct machine;
struct dso *vdso__dso_findnew(struct machine *machine);