diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/perf/util/machine.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/util/machine.c b/tools/perf/util/machine.c index d97309c87bd6..b75b487574c7 100644 --- a/tools/perf/util/machine.c +++ b/tools/perf/util/machine.c | |||
@@ -1106,8 +1106,8 @@ static int machine__process_kernel_mmap_event(struct machine *machine, | |||
1106 | if (__machine__create_kernel_maps(machine, kernel) < 0) | 1106 | if (__machine__create_kernel_maps(machine, kernel) < 0) |
1107 | goto out_problem; | 1107 | goto out_problem; |
1108 | 1108 | ||
1109 | if (strstr(dso->long_name, "vmlinux")) | 1109 | if (strstr(kernel->long_name, "vmlinux")) |
1110 | dso__set_short_name(dso, "[kernel.vmlinux]", false); | 1110 | dso__set_short_name(kernel, "[kernel.vmlinux]", false); |
1111 | 1111 | ||
1112 | machine__set_kernel_mmap_len(machine, event); | 1112 | machine__set_kernel_mmap_len(machine, event); |
1113 | 1113 | ||