perf tools: Simplify the symbol priv area mechanism
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 30 Oct 2009 18:28:24 +0000 (16:28 -0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 2 Nov 2009 15:52:11 +0000 (16:52 +0100)
commit00a192b395b0606ad0265243844b3cd68e73420a
tree09149f550807c365f170c857b1021d66e5bb8b4b
parentafb7b4f08e274cecd8337f9444affa288a9cd4c1
perf tools: Simplify the symbol priv area mechanism

Before we were storing this in the DSO, but in fact this is a
property of the 'symbol' class, not something that will vary
among DSOs, so move it to a global variable and initialize it
using the existing symbol__init routine.

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: <1256927305-4628-2-git-send-email-acme@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/builtin-annotate.c
tools/perf/builtin-report.c
tools/perf/builtin-sched.c
tools/perf/builtin-timechart.c
tools/perf/builtin-top.c
tools/perf/builtin-trace.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