diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2014-07-22 16:17:53 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2014-07-23 16:45:50 -0300 |
commit | 2a03068c5cfa104768703cbefa2e23a6353f8de5 (patch) | |
tree | 7c41e71161602591c80a3c2cccbb113eeae0a2c6 /tools/perf/util/map.h | |
parent | 6d363459d7e6e05f0afeb8e36e6de262a4964694 (diff) | |
download | talos-op-linux-2a03068c5cfa104768703cbefa2e23a6353f8de5.tar.gz talos-op-linux-2a03068c5cfa104768703cbefa2e23a6353f8de5.zip |
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/map.h')
-rw-r--r-- | tools/perf/util/map.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/map.h b/tools/perf/util/map.h index 22d13a219590..a95e677f16e9 100644 --- a/tools/perf/util/map.h +++ b/tools/perf/util/map.h @@ -119,7 +119,7 @@ typedef int (*symbol_filter_t)(struct map *map, struct symbol *sym); void map__init(struct map *map, enum map_type type, u64 start, u64 end, u64 pgoff, struct dso *dso); -struct map *map__new(struct list_head *dsos__list, u64 start, u64 len, +struct map *map__new(struct machine *machine, u64 start, u64 len, u64 pgoff, u32 pid, u32 d_maj, u32 d_min, u64 ino, u64 ino_gen, u32 prot, u32 flags, char *filename, enum map_type type); |