diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2012-03-28 12:49:35 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2012-03-29 17:13:45 -0300 |
commit | 64c17be4ffb8d6971051aec77ca1de4cfadb166d (patch) | |
tree | 5ab8ca0b28f6d780c5a3962d395ccb6413201645 /tools/perf/util/cpumap.h | |
parent | cc96aa7a7f2e9a1a3cf8be3720f185f2d13fe34b (diff) | |
download | op-kernel-dev-64c17be4ffb8d6971051aec77ca1de4cfadb166d.zip op-kernel-dev-64c17be4ffb8d6971051aec77ca1de4cfadb166d.tar.gz |
perf annotate: Fix off by one symbol hist size allocation and hit accounting
We were not noticing it because symbol__inc_addr_samples was erroneously
dropping samples that hit the last byte in a function.
Working on a fix for a problem reported by David Miller, Stephane
Eranian and Sorin Dumitru, where addresses < sym->start were causing
problems, I noticed this other problem.
Cc: David Ahern <dsahern@gmail.com>
Cc: David Miller <davem@davemloft.net>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Sorin Dumitru <dumitru.sorin87@gmail.com>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-pqjaq4cr1xs2xen73pjhbav4@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/cpumap.h')
0 files changed, 0 insertions, 0 deletions