]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - tools/perf/builtin-annotate.c
perf symbols: Unify symbol maps
[mirror_ubuntu-jammy-kernel.git] / tools / perf / builtin-annotate.c
index 51709a961496ded0e64071b3173eb273c4890b58..6e5d9f718154b1bce631d887a7eccf080a11310a 100644 (file)
@@ -228,7 +228,7 @@ static int perf_evsel__add_sample(struct perf_evsel *evsel,
                 */
                if (al->sym != NULL) {
                        rb_erase(&al->sym->rb_node,
-                                &al->map->dso->symbols[al->map->type]);
+                                &al->map->dso->symbols);
                        symbol__delete(al->sym);
                        dso__reset_find_symbol_cache(al->map->dso);
                }