perf tools: Pass machine to vdso__dso_findnew()
[sfrench/cifs-2.6.git] / tools / perf / util / map.h
index 22d13a2195904dea811d5cd5756be77f3be8270b..a95e677f16e966b04869641a95ed04218b3fd6e6 100644 (file)
@@ -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);