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>
This commit is contained in:
committed by
Ingo Molnar
parent
a2e7127153
commit
2643ce1145
@ -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);
|
||||
|
Reference in New Issue
Block a user