diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2010-04-27 20:22:44 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2010-04-27 20:22:44 -0400 |
commit | cbf6968098f89d3216d074f06544b5032b344da4 (patch) | |
tree | 842750b609ec0ad6f246be03fc39f7614c98316f /tools/perf/util/symbol.h | |
parent | d28c62232e50eab202bcd3f19b5c7a25b8b900b6 (diff) |
perf machines: Make the machines class adopt the dsos__fprintf methods
Now those methods don't operate on a global list of dsos, but on lists
of machines, so make this clear by renaming the functions.
Cc: Avi Kivity <avi@redhat.com>
Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Zhang, Yanmin <yanmin_zhang@linux.intel.com>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/symbol.h')
-rw-r--r-- | tools/perf/util/symbol.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/perf/util/symbol.h b/tools/perf/util/symbol.h index 37b717b861c4..2cec6a10716a 100644 --- a/tools/perf/util/symbol.h +++ b/tools/perf/util/symbol.h | |||
@@ -162,9 +162,8 @@ int dso__load_vmlinux_path(struct dso *self, struct map *map, | |||
162 | symbol_filter_t filter); | 162 | symbol_filter_t filter); |
163 | int dso__load_kallsyms(struct dso *self, const char *filename, struct map *map, | 163 | int dso__load_kallsyms(struct dso *self, const char *filename, struct map *map, |
164 | symbol_filter_t filter); | 164 | symbol_filter_t filter); |
165 | void dsos__fprintf(struct rb_root *kerninfo_root, FILE *fp); | 165 | size_t machines__fprintf_dsos(struct rb_root *self, FILE *fp); |
166 | size_t dsos__fprintf_buildid(struct rb_root *kerninfo_root, | 166 | size_t machines__fprintf_dsos_buildid(struct rb_root *self, FILE *fp, bool with_hits); |
167 | FILE *fp, bool with_hits); | ||
168 | 167 | ||
169 | size_t dso__fprintf_buildid(struct dso *self, FILE *fp); | 168 | size_t dso__fprintf_buildid(struct dso *self, FILE *fp); |
170 | size_t dso__fprintf(struct dso *self, enum map_type type, FILE *fp); | 169 | size_t dso__fprintf(struct dso *self, enum map_type type, FILE *fp); |