aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/symbol.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2010-04-29 14:25:23 -0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2010-04-29 14:25:23 -0400
commit5c0541d53ef3897494768decb09eb8f1087953a5 (patch)
tree38b8eab8e45a2d2265db64b131320e6baa43b984 /tools/perf/util/symbol.h
parent18acde52b83bd1c8e1d007db519f46d344aa13ed (diff)
perf symbols: Add machine helper routines
Created when writing the first 'perf test' regression testing routine. 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> 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.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/perf/util/symbol.h b/tools/perf/util/symbol.h
index 2cec6a10716a..a517c17407b7 100644
--- a/tools/perf/util/symbol.h
+++ b/tools/perf/util/symbol.h
@@ -162,6 +162,11 @@ int dso__load_vmlinux_path(struct dso *self, struct map *map,
162 symbol_filter_t filter); 162 symbol_filter_t filter);
163int dso__load_kallsyms(struct dso *self, const char *filename, struct map *map, 163int dso__load_kallsyms(struct dso *self, const char *filename, struct map *map,
164 symbol_filter_t filter); 164 symbol_filter_t filter);
165int machine__load_kallsyms(struct machine *self, const char *filename,
166 enum map_type type, symbol_filter_t filter);
167int machine__load_vmlinux_path(struct machine *self, enum map_type type,
168 symbol_filter_t filter);
169
165size_t machines__fprintf_dsos(struct rb_root *self, FILE *fp); 170size_t machines__fprintf_dsos(struct rb_root *self, FILE *fp);
166size_t machines__fprintf_dsos_buildid(struct rb_root *self, FILE *fp, bool with_hits); 171size_t machines__fprintf_dsos_buildid(struct rb_root *self, FILE *fp, bool with_hits);
167 172
@@ -199,6 +204,8 @@ int kallsyms__parse(const char *filename, void *arg,
199 char type, u64 start)); 204 char type, u64 start));
200 205
201int __machine__create_kernel_maps(struct machine *self, struct dso *kernel); 206int __machine__create_kernel_maps(struct machine *self, struct dso *kernel);
207int machine__create_kernel_maps(struct machine *self);
208
202int machines__create_kernel_maps(struct rb_root *self, pid_t pid); 209int machines__create_kernel_maps(struct rb_root *self, pid_t pid);
203int machines__create_guest_kernel_maps(struct rb_root *self); 210int machines__create_guest_kernel_maps(struct rb_root *self);
204 211