diff options
Diffstat (limited to 'tools/perf/util/symbol.h')
| -rw-r--r-- | tools/perf/util/symbol.h | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/tools/perf/util/symbol.h b/tools/perf/util/symbol.h index 478f5ab37787..a517c17407b7 100644 --- a/tools/perf/util/symbol.h +++ b/tools/perf/util/symbol.h | |||
| @@ -162,9 +162,13 @@ 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 | int machine__load_kallsyms(struct machine *self, const char *filename, |
| 166 | size_t dsos__fprintf_buildid(struct rb_root *kerninfo_root, | 166 | enum map_type type, symbol_filter_t filter); |
| 167 | FILE *fp, bool with_hits); | 167 | int machine__load_vmlinux_path(struct machine *self, enum map_type type, |
| 168 | symbol_filter_t filter); | ||
| 169 | |||
| 170 | size_t machines__fprintf_dsos(struct rb_root *self, FILE *fp); | ||
| 171 | size_t machines__fprintf_dsos_buildid(struct rb_root *self, FILE *fp, bool with_hits); | ||
| 168 | 172 | ||
| 169 | size_t dso__fprintf_buildid(struct dso *self, FILE *fp); | 173 | size_t dso__fprintf_buildid(struct dso *self, FILE *fp); |
| 170 | size_t dso__fprintf(struct dso *self, enum map_type type, FILE *fp); | 174 | size_t dso__fprintf(struct dso *self, enum map_type type, FILE *fp); |
| @@ -186,8 +190,7 @@ enum dso_origin { | |||
| 186 | char dso__symtab_origin(const struct dso *self); | 190 | char dso__symtab_origin(const struct dso *self); |
| 187 | void dso__set_long_name(struct dso *self, char *name); | 191 | void dso__set_long_name(struct dso *self, char *name); |
| 188 | void dso__set_build_id(struct dso *self, void *build_id); | 192 | void dso__set_build_id(struct dso *self, void *build_id); |
| 189 | void dso__read_running_kernel_build_id(struct dso *self, | 193 | void dso__read_running_kernel_build_id(struct dso *self, struct machine *machine); |
| 190 | struct kernel_info *kerninfo); | ||
| 191 | struct symbol *dso__find_symbol(struct dso *self, enum map_type type, u64 addr); | 194 | struct symbol *dso__find_symbol(struct dso *self, enum map_type type, u64 addr); |
| 192 | struct symbol *dso__find_symbol_by_name(struct dso *self, enum map_type type, | 195 | struct symbol *dso__find_symbol_by_name(struct dso *self, enum map_type type, |
| 193 | const char *name); | 196 | const char *name); |
| @@ -200,11 +203,11 @@ int kallsyms__parse(const char *filename, void *arg, | |||
| 200 | int (*process_symbol)(void *arg, const char *name, | 203 | int (*process_symbol)(void *arg, const char *name, |
| 201 | char type, u64 start)); | 204 | char type, u64 start)); |
| 202 | 205 | ||
| 203 | int __map_groups__create_kernel_maps(struct map_groups *self, | 206 | int __machine__create_kernel_maps(struct machine *self, struct dso *kernel); |
| 204 | struct map *vmlinux_maps[MAP__NR_TYPES], | 207 | int machine__create_kernel_maps(struct machine *self); |
| 205 | struct dso *kernel); | 208 | |
| 206 | int map_groups__create_kernel_maps(struct rb_root *kerninfo_root, pid_t pid); | 209 | int machines__create_kernel_maps(struct rb_root *self, pid_t pid); |
| 207 | int map_groups__create_guest_kernel_maps(struct rb_root *kerninfo_root); | 210 | int machines__create_guest_kernel_maps(struct rb_root *self); |
| 208 | 211 | ||
| 209 | int symbol__init(void); | 212 | int symbol__init(void); |
| 210 | bool symbol_type__is_a(char symbol_type, enum map_type map_type); | 213 | bool symbol_type__is_a(char symbol_type, enum map_type map_type); |
