diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2012-04-05 16:15:59 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2012-04-05 18:49:18 -0300 |
commit | 8b84a568117fde9b77575f2060274eddab424c32 (patch) | |
tree | dadc32f7df64619334f252c9c5206b82b99a73a6 /tools/perf/scripts/python/sched-migration.py | |
parent | 4bea8b5cf8c6e875fa43e617cd52858a07ae8ea8 (diff) |
perf annotate: Fix hist decay
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 <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions