summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/symbol.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2009-11-04 00:46:10 +0100
committerIngo Molnar <mingo@elte.hu>2009-11-04 12:03:32 +0100
commit2643ce11457a99a85c5bed8dd631e35968e6ca5a (patch)
treef145996b7ba4db29d34a88a755ab6524266f708e /tools/perf/util/symbol.h
parentMerge commit 'v2.6.32-rc6' into perf/core (diff)
downloadlinux-2643ce11457a99a85c5bed8dd631e35968e6ca5a.tar.xz
linux-2643ce11457a99a85c5bed8dd631e35968e6ca5a.zip
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);
size_t dso__fprintf(struct dso *self, FILE *fp);
char dso__symtab_origin(const struct dso *self);
+int filename__read_build_id(const char *filename, void *bf, size_t size);
+
int load_kernel(symbol_filter_t filter);
void symbol__init(unsigned int priv_size);