diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2009-11-18 17:20:51 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-11-19 02:28:12 -0500 |
commit | e30a3d12ddf04add3268bfceb0e57ffe47f254c6 (patch) | |
tree | 421a5726e0f7f87fff772efd7a83ce15c82ba859 /tools/perf/util/symbol.h | |
parent | d3379ab9050e5522da2aac53d413651fc06be562 (diff) |
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>
Diffstat (limited to 'tools/perf/util/symbol.h')
-rw-r--r-- | tools/perf/util/symbol.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/symbol.h b/tools/perf/util/symbol.h index 5ad1019607dd..546eb766d81e 100644 --- a/tools/perf/util/symbol.h +++ b/tools/perf/util/symbol.h | |||
@@ -89,7 +89,7 @@ char dso__symtab_origin(const struct dso *self); | |||
89 | void dso__set_build_id(struct dso *self, void *build_id); | 89 | void dso__set_build_id(struct dso *self, void *build_id); |
90 | 90 | ||
91 | int filename__read_build_id(const char *filename, void *bf, size_t size); | 91 | int filename__read_build_id(const char *filename, void *bf, size_t size); |
92 | bool fetch_build_id_table(struct list_head *head); | 92 | bool dsos__read_build_ids(void); |
93 | int build_id__sprintf(u8 *self, int len, char *bf); | 93 | int build_id__sprintf(u8 *self, int len, char *bf); |
94 | 94 | ||
95 | int load_kernel(symbol_filter_t filter); | 95 | int load_kernel(symbol_filter_t filter); |