perf annotate: Fix hist decay
authorArnaldo Carvalho de Melo <>
Thu, 5 Apr 2012 19:15:59 +0000 (16:15 -0300)
committerArnaldo Carvalho de Melo <>
Thu, 5 Apr 2012 21:49:18 +0000 (18:49 -0300)
We were only decaying the entries for the offsets that were associated
with an objdump line.

That way, when we accrued the whole instruction addr range, more than
100% was appearing in some cases in the live annotation TUI.

Fix it by not traversing the source code line at all, just iterate thru
the complete addr range decaying each one.

Reported-by: Mike Galbraith <>
Cc: David Ahern <>
Cc: Frederic Weisbecker <>
Cc: Mike Galbraith <>
Cc: Namhyung Kim <>
Cc: Paul Mackerras <>
Cc: Peter Zijlstra <>
Cc: Stephane Eranian <>
Signed-off-by: Arnaldo Carvalho de Melo <>

No differences found