perf symbols: Introduce symbol__size method
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 19 Apr 2012 13:57:06 +0000 (10:57 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 19 Apr 2012 13:57:06 +0000 (10:57 -0300)
commit1b2e2df4e395293e65dbda49e58cb4c7abeb7507
tree86c1fbbe6da27fee35bcaf676359f24c481fdc13
parent887c0066a810234cfae9927b3781b6a1c617fb39
perf symbols: Introduce symbol__size method

Fixing some off by one cases in the process.

Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-fxumzufhk829z0q9anmvemea@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/annotate.c
tools/perf/util/symbol.h