perf tools: Pass machine to vdso__dso_findnew()
[deliverable/linux.git] / tools / perf / util / machine.c
index cfc691000f13a24bf93704f63dbdc5fc219682df..a25f3ee1b5b37b2b5de8ef68e3531c8c9be5ff7a 100644 (file)
@@ -1095,7 +1095,7 @@ int machine__process_mmap2_event(struct machine *machine,
        else
                type = MAP__FUNCTION;
 
-       map = map__new(&machine->user_dsos, event->mmap2.start,
+       map = map__new(machine, event->mmap2.start,
                        event->mmap2.len, event->mmap2.pgoff,
                        event->mmap2.pid, event->mmap2.maj,
                        event->mmap2.min, event->mmap2.ino,
@@ -1145,7 +1145,7 @@ int machine__process_mmap_event(struct machine *machine, union perf_event *event
        else
                type = MAP__FUNCTION;
 
-       map = map__new(&machine->user_dsos, event->mmap.start,
+       map = map__new(machine, event->mmap.start,
                        event->mmap.len, event->mmap.pgoff,
                        event->mmap.pid, 0, 0, 0, 0, 0, 0,
                        event->mmap.filename,
This page took 0.023766 seconds and 5 git commands to generate.