summaryrefslogtreecommitdiffstats
path: root/kernel/tools/perf/util/symbol-elf.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/tools/perf/util/symbol-elf.c')
-rw-r--r--kernel/tools/perf/util/symbol-elf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/tools/perf/util/symbol-elf.c b/kernel/tools/perf/util/symbol-elf.c
index 475d88d0a..27ae382fe 100644
--- a/kernel/tools/perf/util/symbol-elf.c
+++ b/kernel/tools/perf/util/symbol-elf.c
@@ -1091,9 +1091,8 @@ new_symbol:
* For misannotated, zeroed, ASM function sizes.
*/
if (nr > 0) {
- if (!symbol_conf.allow_aliases)
- symbols__fixup_duplicate(&dso->symbols[map->type]);
symbols__fixup_end(&dso->symbols[map->type]);
+ symbols__fixup_duplicate(&dso->symbols[map->type]);
if (kmap) {
/*
* We need to fixup this here too because we create new