diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2009-11-03 18:46:10 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-11-04 06:03:32 -0500 |
commit | 2643ce11457a99a85c5bed8dd631e35968e6ca5a (patch) | |
tree | f145996b7ba4db29d34a88a755ab6524266f708e /tools/perf/util/symbol.h | |
parent | a2e71271535fde493c32803b1f34789f97efcb5e (diff) |
perf symbols: Factor out buildid reading routine
So that we can run it without having a DSO instance.
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: <1257291970-8208-1-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, 2 insertions, 0 deletions
diff --git a/tools/perf/util/symbol.h b/tools/perf/util/symbol.h index 088433062dd4..e0d4a583f8dd 100644 --- a/tools/perf/util/symbol.h +++ b/tools/perf/util/symbol.h | |||
@@ -82,6 +82,8 @@ void dsos__fprintf(FILE *fp); | |||
82 | size_t dso__fprintf(struct dso *self, FILE *fp); | 82 | size_t dso__fprintf(struct dso *self, FILE *fp); |
83 | char dso__symtab_origin(const struct dso *self); | 83 | char dso__symtab_origin(const struct dso *self); |
84 | 84 | ||
85 | int filename__read_build_id(const char *filename, void *bf, size_t size); | ||
86 | |||
85 | int load_kernel(symbol_filter_t filter); | 87 | int load_kernel(symbol_filter_t filter); |
86 | 88 | ||
87 | void symbol__init(unsigned int priv_size); | 89 | void symbol__init(unsigned int priv_size); |