aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-top.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/builtin-top.c')
-rw-r--r--tools/perf/builtin-top.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-top.c b/tools/perf/builtin-top.c
index ded6cf65ad9c..a0168f260d06 100644
--- a/tools/perf/builtin-top.c
+++ b/tools/perf/builtin-top.c
@@ -996,7 +996,7 @@ static void event__process_mmap(event_t *self)
996 struct thread *thread = threads__findnew(self->mmap.pid); 996 struct thread *thread = threads__findnew(self->mmap.pid);
997 997
998 if (thread != NULL) { 998 if (thread != NULL) {
999 struct map *map = map__new(&self->mmap, NULL, 0); 999 struct map *map = map__new(&self->mmap, MAP__FUNCTION, NULL, 0);
1000 if (map != NULL) 1000 if (map != NULL)
1001 thread__insert_map(thread, map); 1001 thread__insert_map(thread, map);
1002 } 1002 }