diff options
Diffstat (limited to 'tools/perf/util/symbol.h')
-rw-r--r-- | tools/perf/util/symbol.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/perf/util/symbol.h b/tools/perf/util/symbol.h index 5f720dc076da..fd5b70ea2981 100644 --- a/tools/perf/util/symbol.h +++ b/tools/perf/util/symbol.h | |||
@@ -215,6 +215,7 @@ struct symbol *dso__find_symbol(struct dso *dso, enum map_type type, | |||
215 | u64 addr); | 215 | u64 addr); |
216 | struct symbol *dso__find_symbol_by_name(struct dso *dso, enum map_type type, | 216 | struct symbol *dso__find_symbol_by_name(struct dso *dso, enum map_type type, |
217 | const char *name); | 217 | const char *name); |
218 | struct symbol *dso__first_symbol(struct dso *dso, enum map_type type); | ||
218 | 219 | ||
219 | int filename__read_build_id(const char *filename, void *bf, size_t size); | 220 | int filename__read_build_id(const char *filename, void *bf, size_t size); |
220 | int sysfs__read_build_id(const char *filename, void *bf, size_t size); | 221 | int sysfs__read_build_id(const char *filename, void *bf, size_t size); |
@@ -247,4 +248,8 @@ void symbols__fixup_duplicate(struct rb_root *symbols); | |||
247 | void symbols__fixup_end(struct rb_root *symbols); | 248 | void symbols__fixup_end(struct rb_root *symbols); |
248 | void __map_groups__fixup_end(struct map_groups *mg, enum map_type type); | 249 | void __map_groups__fixup_end(struct map_groups *mg, enum map_type type); |
249 | 250 | ||
251 | typedef int (*mapfn_t)(u64 start, u64 len, u64 pgoff, void *data); | ||
252 | int file__read_maps(int fd, bool exe, mapfn_t mapfn, void *data, | ||
253 | bool *is_64_bit); | ||
254 | |||
250 | #endif /* __PERF_SYMBOL */ | 255 | #endif /* __PERF_SYMBOL */ |