summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/process_events.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/process_events.c')
-rw-r--r--tools/perf/util/process_events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/process_events.c b/tools/perf/util/process_events.c
index a9204363efd..53778684641 100644
--- a/tools/perf/util/process_events.c
+++ b/tools/perf/util/process_events.c
@@ -6,7 +6,7 @@ int cwdlen;
int
process_mmap_event(event_t *event, unsigned long offset, unsigned long head)
{
- struct map *map = map__new(&event->mmap, cwd, cwdlen);
+ struct map *map = map__new(&event->mmap, MAP__FUNCTION, cwd, cwdlen);
struct thread *thread = threads__findnew(event->mmap.pid);
dump_printf("%p [%p]: PERF_RECORD_MMAP %d/%d: [%p(%p) @ %p]: %s\n",