aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/symbol.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2009-11-03 18:46:10 -0500
committerIngo Molnar <mingo@elte.hu>2009-11-04 06:03:32 -0500
commit2643ce11457a99a85c5bed8dd631e35968e6ca5a (patch)
treef145996b7ba4db29d34a88a755ab6524266f708e /tools/perf/util/symbol.h
parenta2e71271535fde493c32803b1f34789f97efcb5e (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.h2
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);
82size_t dso__fprintf(struct dso *self, FILE *fp); 82size_t dso__fprintf(struct dso *self, FILE *fp);
83char dso__symtab_origin(const struct dso *self); 83char dso__symtab_origin(const struct dso *self);
84 84
85int filename__read_build_id(const char *filename, void *bf, size_t size);
86
85int load_kernel(symbol_filter_t filter); 87int load_kernel(symbol_filter_t filter);
86 88
87void symbol__init(unsigned int priv_size); 89void symbol__init(unsigned int priv_size);