summaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-kallsyms.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/builtin-kallsyms.c')
-rw-r--r--tools/perf/builtin-kallsyms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-kallsyms.c b/tools/perf/builtin-kallsyms.c
index 7f75c5b73f..a3c2ffdc1a 100644
--- a/tools/perf/builtin-kallsyms.c
+++ b/tools/perf/builtin-kallsyms.c
@@ -38,7 +38,7 @@ static int __cmd_kallsyms(int argc, const char **argv)
dso = map__dso(map);
printf("%s: %s %s %#" PRIx64 "-%#" PRIx64 " (%#" PRIx64 "-%#" PRIx64")\n",
- symbol->name, dso->short_name, dso->long_name,
+ symbol->name, dso__short_name(dso), dso__long_name(dso),
map__unmap_ip(map, symbol->start), map__unmap_ip(map, symbol->end),
symbol->start, symbol->end);
}