diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2012-11-09 09:32:52 -0500 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2012-11-09 09:32:52 -0500 |
commit | 69d2591a829132492662bbfe164fcde5e44ad1c4 (patch) | |
tree | 980dd4ff2e59c021f63ca82ef13427f3a70a7656 /tools/perf/util/symbol.h | |
parent | bfaef4b46b17ff053dc38f979cec364b0715cabb (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.h | 20 |
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); |
201 | int dso__load_kallsyms(struct dso *dso, const char *filename, struct map *map, | 201 | int dso__load_kallsyms(struct dso *dso, const char *filename, struct map *map, |
202 | symbol_filter_t filter); | 202 | symbol_filter_t filter); |
203 | int machine__load_kallsyms(struct machine *machine, const char *filename, | ||
204 | enum map_type type, symbol_filter_t filter); | ||
205 | int machine__load_vmlinux_path(struct machine *machine, enum map_type type, | ||
206 | symbol_filter_t filter); | ||
207 | |||
208 | size_t machine__fprintf_dsos_buildid(struct machine *machine, | ||
209 | FILE *fp, bool with_hits); | ||
210 | size_t machines__fprintf_dsos(struct rb_root *machines, FILE *fp); | ||
211 | size_t machines__fprintf_dsos_buildid(struct rb_root *machines, | ||
212 | FILE *fp, bool with_hits); | ||
213 | 203 | ||
214 | struct symbol *dso__find_symbol(struct dso *dso, enum map_type type, | 204 | struct 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, | |||
224 | int filename__read_debuglink(const char *filename, char *debuglink, | 214 | int filename__read_debuglink(const char *filename, char *debuglink, |
225 | size_t size); | 215 | size_t size); |
226 | 216 | ||
227 | void machine__destroy_kernel_maps(struct machine *machine); | ||
228 | int __machine__create_kernel_maps(struct machine *machine, struct dso *kernel); | ||
229 | int machine__create_kernel_maps(struct machine *machine); | ||
230 | |||
231 | int machines__create_kernel_maps(struct rb_root *machines, pid_t pid); | ||
232 | int machines__create_guest_kernel_maps(struct rb_root *machines); | ||
233 | void machines__destroy_guest_kernel_maps(struct rb_root *machines); | ||
234 | |||
235 | int symbol__init(void); | 217 | int symbol__init(void); |
236 | void symbol__exit(void); | 218 | void symbol__exit(void); |
237 | void symbol__elf_init(void); | 219 | void symbol__elf_init(void); |
@@ -242,8 +224,6 @@ size_t symbol__fprintf_symname(const struct symbol *sym, FILE *fp); | |||
242 | size_t symbol__fprintf(struct symbol *sym, FILE *fp); | 224 | size_t symbol__fprintf(struct symbol *sym, FILE *fp); |
243 | bool symbol_type__is_a(char symbol_type, enum map_type map_type); | 225 | bool symbol_type__is_a(char symbol_type, enum map_type map_type); |
244 | 226 | ||
245 | size_t machine__fprintf_vmlinux_path(struct machine *machine, FILE *fp); | ||
246 | |||
247 | int dso__test_data(void); | 227 | int dso__test_data(void); |
248 | int dso__load_sym(struct dso *dso, struct map *map, struct symsrc *syms_ss, | 228 | int 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, |