diff options
Diffstat (limited to 'tools/perf/util/event.c')
-rw-r--r-- | tools/perf/util/event.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/util/event.c b/tools/perf/util/event.c index c2808ad3b76a..052eaeccc202 100644 --- a/tools/perf/util/event.c +++ b/tools/perf/util/event.c | |||
@@ -393,7 +393,8 @@ int event__process_mmap(event_t *self, struct perf_session *session) | |||
393 | } | 393 | } |
394 | 394 | ||
395 | thread = perf_session__findnew(session, self->mmap.pid); | 395 | thread = perf_session__findnew(session, self->mmap.pid); |
396 | map = map__new(&self->mmap, MAP__FUNCTION, | 396 | map = map__new(self->mmap.start, self->mmap.len, self->mmap.pgoff, |
397 | self->mmap.pid, self->mmap.filename, MAP__FUNCTION, | ||
397 | session->cwd, session->cwdlen); | 398 | session->cwd, session->cwdlen); |
398 | 399 | ||
399 | if (thread == NULL || map == NULL) | 400 | if (thread == NULL || map == NULL) |