aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/symbol.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2012-11-09 09:32:52 -0500
committerArnaldo Carvalho de Melo <acme@redhat.com>2012-11-09 09:32:52 -0500
commit69d2591a829132492662bbfe164fcde5e44ad1c4 (patch)
tree980dd4ff2e59c021f63ca82ef13427f3a70a7656 /tools/perf/util/symbol.h
parentbfaef4b46b17ff053dc38f979cec364b0715cabb (diff)
perf machine: Move more methods to machine.[ch]
This time out of map.[ch] mostly, just code move plus a buch of 'self' removal, using machine or machines instead. Cc: David Ahern <dsahern@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Namhyung Kim <namhyung@gmail.com> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Link: http://lkml.kernel.org/n/tip-j1vtux3vnu6wzmrjutpxnjcz@git.kernel.org 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.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/tools/perf/util/symbol.h b/tools/perf/util/symbol.h
index 863b05bea5ff..04ccf2962080 100644
--- a/tools/perf/util/symbol.h
+++ b/tools/perf/util/symbol.h
@@ -200,16 +200,6 @@ int dso__load_vmlinux_path(struct dso *dso, struct map *map,
200 symbol_filter_t filter); 200 symbol_filter_t filter);
201int dso__load_kallsyms(struct dso *dso, const char *filename, struct map *map, 201int dso__load_kallsyms(struct dso *dso, const char *filename, struct map *map,
202 symbol_filter_t filter); 202 symbol_filter_t filter);
203int machine__load_kallsyms(struct machine *machine, const char *filename,
204 enum map_type type, symbol_filter_t filter);
205int machine__load_vmlinux_path(struct machine *machine, enum map_type type,
206 symbol_filter_t filter);
207
208size_t machine__fprintf_dsos_buildid(struct machine *machine,
209 FILE *fp, bool with_hits);
210size_t machines__fprintf_dsos(struct rb_root *machines, FILE *fp);
211size_t machines__fprintf_dsos_buildid(struct rb_root *machines,
212 FILE *fp, bool with_hits);
213 203
214struct symbol *dso__find_symbol(struct dso *dso, enum map_type type, 204struct symbol *dso__find_symbol(struct dso *dso, enum map_type type,
215 u64 addr); 205 u64 addr);
@@ -224,14 +214,6 @@ int kallsyms__parse(const char *filename, void *arg,
224int filename__read_debuglink(const char *filename, char *debuglink, 214int filename__read_debuglink(const char *filename, char *debuglink,
225 size_t size); 215 size_t size);
226 216
227void machine__destroy_kernel_maps(struct machine *machine);
228int __machine__create_kernel_maps(struct machine *machine, struct dso *kernel);
229int machine__create_kernel_maps(struct machine *machine);
230
231int machines__create_kernel_maps(struct rb_root *machines, pid_t pid);
232int machines__create_guest_kernel_maps(struct rb_root *machines);
233void machines__destroy_guest_kernel_maps(struct rb_root *machines);
234
235int symbol__init(void); 217int symbol__init(void);
236void symbol__exit(void); 218void symbol__exit(void);
237void symbol__elf_init(void); 219void symbol__elf_init(void);
@@ -242,8 +224,6 @@ size_t symbol__fprintf_symname(const struct symbol *sym, FILE *fp);
242size_t symbol__fprintf(struct symbol *sym, FILE *fp); 224size_t symbol__fprintf(struct symbol *sym, FILE *fp);
243bool symbol_type__is_a(char symbol_type, enum map_type map_type); 225bool symbol_type__is_a(char symbol_type, enum map_type map_type);
244 226
245size_t machine__fprintf_vmlinux_path(struct machine *machine, FILE *fp);
246
247int dso__test_data(void); 227int dso__test_data(void);
248int dso__load_sym(struct dso *dso, struct map *map, struct symsrc *syms_ss, 228int dso__load_sym(struct dso *dso, struct map *map, struct symsrc *syms_ss,
249 struct symsrc *runtime_ss, symbol_filter_t filter, 229 struct symsrc *runtime_ss, symbol_filter_t filter,