diff options
-rw-r--r-- | tools/perf/util/symbol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/symbol.c b/tools/perf/util/symbol.c index 71bf711a628c..b4cc7662677e 100644 --- a/tools/perf/util/symbol.c +++ b/tools/perf/util/symbol.c | |||
@@ -680,7 +680,7 @@ static int dso__split_kallsyms_for_kcore(struct dso *dso, struct map *map, | |||
680 | pos->start -= curr_map->start - curr_map->pgoff; | 680 | pos->start -= curr_map->start - curr_map->pgoff; |
681 | if (pos->end) | 681 | if (pos->end) |
682 | pos->end -= curr_map->start - curr_map->pgoff; | 682 | pos->end -= curr_map->start - curr_map->pgoff; |
683 | if (curr_map != map) { | 683 | if (curr_map->dso != map->dso) { |
684 | rb_erase_init(&pos->rb_node, root); | 684 | rb_erase_init(&pos->rb_node, root); |
685 | symbols__insert( | 685 | symbols__insert( |
686 | &curr_map->dso->symbols[curr_map->type], | 686 | &curr_map->dso->symbols[curr_map->type], |