diff options
-rw-r--r-- | tools/perf/util/machine.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/machine.c b/tools/perf/util/machine.c index f66f309a091..f85da9a9a5d 100644 --- a/tools/perf/util/machine.c +++ b/tools/perf/util/machine.c @@ -935,7 +935,7 @@ static int machine__process_kernel_mmap_event(struct machine *machine, if (name == NULL) goto out_problem; - map->dso->short_name = name; + dso__set_short_name(map->dso, name); map->dso->short_name_allocated = 1; map->end = map->start + event->mmap.len; } else if (is_kernel_mmap) { |