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