perf annotate: Use the sym_priv_size area for the histogram
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 20 Oct 2009 16:25:40 +0000 (14:25 -0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 20 Oct 2009 19:12:58 +0000 (21:12 +0200)
commite42049926ebdcae24fdfdc8f0e3ff8f05f24a60b
treebe0a07b62070aef5edcd64d84e12e04950220590
parented52ce2e3c33dc7626a40fa2da766d1a6460e543
perf annotate: Use the sym_priv_size area for the histogram

We have this sym_priv_size mechanism for attaching private areas
to struct symbol entries but annotate wasn't using it, adding
private areas to struct symbol in addition to a ->priv pointer.

Scrap all that and use the sym_priv_size mechanism.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Mike Galbraith <efault@gmx.de>
LKML-Reference: <1256055940-19511-1-git-send-email-acme@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/builtin-annotate.c
tools/perf/builtin-report.c
tools/perf/util/data_map.c
tools/perf/util/event.h
tools/perf/util/map.c
tools/perf/util/symbol.c
tools/perf/util/symbol.h