aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/symbol.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2009-11-16 13:32:44 -0500
committerIngo Molnar <mingo@elte.hu>2009-11-16 16:05:51 -0500
commit9e03eb2d512e7f3a1e562d4b922aa8b1891750b6 (patch)
tree299a1a7a41663d3e33b7f9ee9f00f2269e082040 /tools/perf/util/symbol.h
parent37562eac3767c7f07bb1a1329708ff6453e47570 (diff)
perf tools: Introduce dsos__fprintf_buildid
To print the buildids in the list of dsos. Will be used by 'perf buildid-list' Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <peterz@infradead.org> LKML-Reference: <1258396365-29217-4-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 0a34a5493f1b..51c5a4a08133 100644
--- a/tools/perf/util/symbol.h
+++ b/tools/perf/util/symbol.h
@@ -80,7 +80,9 @@ int dsos__load_kernel(const char *vmlinux, symbol_filter_t filter, int modules);
80struct dso *dsos__findnew(const char *name); 80struct dso *dsos__findnew(const char *name);
81int dso__load(struct dso *self, struct map *map, symbol_filter_t filter); 81int dso__load(struct dso *self, struct map *map, symbol_filter_t filter);
82void dsos__fprintf(FILE *fp); 82void dsos__fprintf(FILE *fp);
83size_t dsos__fprintf_buildid(FILE *fp);
83 84
85size_t dso__fprintf_buildid(struct dso *self, FILE *fp);
84size_t dso__fprintf(struct dso *self, FILE *fp); 86size_t dso__fprintf(struct dso *self, FILE *fp);
85char dso__symtab_origin(const struct dso *self); 87char dso__symtab_origin(const struct dso *self);
86void dso__set_build_id(struct dso *self, void *build_id); 88void dso__set_build_id(struct dso *self, void *build_id);