diff options
Diffstat (limited to 'tools/perf/builtin-annotate.c')
-rw-r--r-- | tools/perf/builtin-annotate.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/builtin-annotate.c b/tools/perf/builtin-annotate.c index a32a64ef08e2..8edc205ff9a7 100644 --- a/tools/perf/builtin-annotate.c +++ b/tools/perf/builtin-annotate.c | |||
@@ -67,6 +67,7 @@ static int perf_evsel__add_sample(struct perf_evsel *evsel, | |||
67 | rb_erase(&al->sym->rb_node, | 67 | rb_erase(&al->sym->rb_node, |
68 | &al->map->dso->symbols[al->map->type]); | 68 | &al->map->dso->symbols[al->map->type]); |
69 | symbol__delete(al->sym); | 69 | symbol__delete(al->sym); |
70 | dso__reset_find_symbol_cache(al->map->dso); | ||
70 | } | 71 | } |
71 | return 0; | 72 | return 0; |
72 | } | 73 | } |