aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/event.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/event.c')
-rw-r--r--tools/perf/util/event.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/event.c b/tools/perf/util/event.c
index 5b81bb29a07a..8151d23664c7 100644
--- a/tools/perf/util/event.c
+++ b/tools/perf/util/event.c
@@ -456,6 +456,7 @@ static int event__process_kernel_mmap(event_t *self,
456 goto out_problem; 456 goto out_problem;
457 457
458 map->dso->short_name = name; 458 map->dso->short_name = name;
459 map->dso->sname_alloc = 1;
459 map->end = map->start + self->mmap.len; 460 map->end = map->start + self->mmap.len;
460 } else if (is_kernel_mmap) { 461 } else if (is_kernel_mmap) {
461 const char *symbol_name = (self->mmap.filename + 462 const char *symbol_name = (self->mmap.filename +