perf symbols: Kill struct build_id_list and die() another day
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 18 Nov 2009 22:20:51 +0000 (20:20 -0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 19 Nov 2009 07:28:12 +0000 (08:28 +0100)
commite30a3d12ddf04add3268bfceb0e57ffe47f254c6
tree421a5726e0f7f87fff772efd7a83ce15c82ba859
parentd3379ab9050e5522da2aac53d413651fc06be562
perf symbols: Kill struct build_id_list and die() another day

No need for this struct and its allocations, we can just use the
->build_id member we already have in struct dso, then ask for it
to be read, and later traverse the dsos list, writing the
buildid table to the perf.data file.

As a bonus, one more die() function got killed.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
LKML-Reference: <1258582853-8579-2-git-send-email-acme@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/util/event.h
tools/perf/util/header.c
tools/perf/util/symbol.c
tools/perf/util/symbol.h