diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2009-11-16 13:32:44 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-11-16 16:05:51 -0500 |
commit | 9e03eb2d512e7f3a1e562d4b922aa8b1891750b6 (patch) | |
tree | 299a1a7a41663d3e33b7f9ee9f00f2269e082040 /tools/perf/util/symbol.h | |
parent | 37562eac3767c7f07bb1a1329708ff6453e47570 (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.h | 2 |
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); | |||
80 | struct dso *dsos__findnew(const char *name); | 80 | struct dso *dsos__findnew(const char *name); |
81 | int dso__load(struct dso *self, struct map *map, symbol_filter_t filter); | 81 | int dso__load(struct dso *self, struct map *map, symbol_filter_t filter); |
82 | void dsos__fprintf(FILE *fp); | 82 | void dsos__fprintf(FILE *fp); |
83 | size_t dsos__fprintf_buildid(FILE *fp); | ||
83 | 84 | ||
85 | size_t dso__fprintf_buildid(struct dso *self, FILE *fp); | ||
84 | size_t dso__fprintf(struct dso *self, FILE *fp); | 86 | size_t dso__fprintf(struct dso *self, FILE *fp); |
85 | char dso__symtab_origin(const struct dso *self); | 87 | char dso__symtab_origin(const struct dso *self); |
86 | void dso__set_build_id(struct dso *self, void *build_id); | 88 | void dso__set_build_id(struct dso *self, void *build_id); |