diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2014-07-22 09:17:53 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2014-07-23 15:45:50 -0400 |
commit | 2a03068c5cfa104768703cbefa2e23a6353f8de5 (patch) | |
tree | 7c41e71161602591c80a3c2cccbb113eeae0a2c6 /tools/perf/util/vdso.h | |
parent | 6d363459d7e6e05f0afeb8e36e6de262a4964694 (diff) |
perf tools: Pass machine to vdso__dso_findnew()
This is preparation for removing the global variables used in vdso.c and
thereby fixing the lifetime of the VDSO temporary file.
Reviewed-by: Jiri Olsa <jolsa@redhat.com>
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1406035081-14301-45-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/vdso.h')
-rw-r--r-- | tools/perf/util/vdso.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/perf/util/vdso.h b/tools/perf/util/vdso.h index 0f76e7caf6f8..9ab0738b6752 100644 --- a/tools/perf/util/vdso.h +++ b/tools/perf/util/vdso.h | |||
@@ -12,7 +12,9 @@ static inline bool is_vdso_map(const char *filename) | |||
12 | return !strcmp(filename, VDSO__MAP_NAME); | 12 | return !strcmp(filename, VDSO__MAP_NAME); |
13 | } | 13 | } |
14 | 14 | ||
15 | struct dso *vdso__dso_findnew(struct list_head *head); | 15 | struct machine; |
16 | |||
17 | struct dso *vdso__dso_findnew(struct machine *machine); | ||
16 | void vdso__exit(void); | 18 | void vdso__exit(void); |
17 | 19 | ||
18 | #endif /* __PERF_VDSO__ */ | 20 | #endif /* __PERF_VDSO__ */ |