aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/machine.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/machine.c')
-rw-r--r--tools/perf/util/machine.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/util/machine.c b/tools/perf/util/machine.c
index cfc691000f13..a25f3ee1b5b3 100644
--- a/tools/perf/util/machine.c
+++ b/tools/perf/util/machine.c
@@ -1095,7 +1095,7 @@ int machine__process_mmap2_event(struct machine *machine,
1095 else 1095 else
1096 type = MAP__FUNCTION; 1096 type = MAP__FUNCTION;
1097 1097
1098 map = map__new(&machine->user_dsos, event->mmap2.start, 1098 map = map__new(machine, event->mmap2.start,
1099 event->mmap2.len, event->mmap2.pgoff, 1099 event->mmap2.len, event->mmap2.pgoff,
1100 event->mmap2.pid, event->mmap2.maj, 1100 event->mmap2.pid, event->mmap2.maj,
1101 event->mmap2.min, event->mmap2.ino, 1101 event->mmap2.min, event->mmap2.ino,
@@ -1145,7 +1145,7 @@ int machine__process_mmap_event(struct machine *machine, union perf_event *event
1145 else 1145 else
1146 type = MAP__FUNCTION; 1146 type = MAP__FUNCTION;
1147 1147
1148 map = map__new(&machine->user_dsos, event->mmap.start, 1148 map = map__new(machine, event->mmap.start,
1149 event->mmap.len, event->mmap.pgoff, 1149 event->mmap.len, event->mmap.pgoff,
1150 event->mmap.pid, 0, 0, 0, 0, 0, 0, 1150 event->mmap.pid, 0, 0, 0, 0, 0, 0,
1151 event->mmap.filename, 1151 event->mmap.filename,