diff --git a/tools/perf/builtin-top.c b/tools/perf/builtin-top.c index 586798acf7db1132d7995afcfdd616419cd920a9..f447e5531f8b87473bc2e06a3be14bbce29f4e66 100644 --- a/tools/perf/builtin-top.c +++ b/tools/perf/builtin-top.c @@ -189,8 +189,7 @@ static void perf_top__record_precise_ip(struct perf_top *top, if (pthread_mutex_trylock(¬es->lock)) return; - if (ui__has_annotation()) - err = hist_entry__inc_addr_samples(he, counter, ip); + err = hist_entry__inc_addr_samples(he, counter, ip); pthread_mutex_unlock(¬es->lock);