diff options
Diffstat (limited to 'tools/perf/util/symbol.h')
-rw-r--r-- | tools/perf/util/symbol.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/tools/perf/util/symbol.h b/tools/perf/util/symbol.h index cf99f88adf39..941ef331790e 100644 --- a/tools/perf/util/symbol.h +++ b/tools/perf/util/symbol.h | |||
@@ -98,8 +98,11 @@ bool dso__sorted_by_name(const struct dso *self, enum map_type type); | |||
98 | 98 | ||
99 | void dso__sort_by_name(struct dso *self, enum map_type type); | 99 | void dso__sort_by_name(struct dso *self, enum map_type type); |
100 | 100 | ||
101 | struct perf_session; | ||
102 | |||
101 | struct dso *dsos__findnew(const char *name); | 103 | struct dso *dsos__findnew(const char *name); |
102 | int dso__load(struct dso *self, struct map *map, symbol_filter_t filter); | 104 | int dso__load(struct dso *self, struct map *map, struct perf_session *session, |
105 | symbol_filter_t filter); | ||
103 | void dsos__fprintf(FILE *fp); | 106 | void dsos__fprintf(FILE *fp); |
104 | size_t dsos__fprintf_buildid(FILE *fp); | 107 | size_t dsos__fprintf_buildid(FILE *fp); |
105 | 108 | ||
@@ -116,12 +119,10 @@ int sysfs__read_build_id(const char *filename, void *bf, size_t size); | |||
116 | bool dsos__read_build_ids(void); | 119 | bool dsos__read_build_ids(void); |
117 | int build_id__sprintf(u8 *self, int len, char *bf); | 120 | int build_id__sprintf(u8 *self, int len, char *bf); |
118 | 121 | ||
119 | size_t kernel_maps__fprintf(FILE *fp); | ||
120 | |||
121 | int symbol__init(struct symbol_conf *conf); | 122 | int symbol__init(struct symbol_conf *conf); |
123 | int perf_session__create_kernel_maps(struct perf_session *self, | ||
124 | struct symbol_conf *conf); | ||
122 | 125 | ||
123 | struct map_groups; | ||
124 | struct map_groups *kmaps; | ||
125 | extern struct list_head dsos__user, dsos__kernel; | 126 | extern struct list_head dsos__user, dsos__kernel; |
126 | extern struct dso *vdso; | 127 | extern struct dso *vdso; |
127 | #endif /* __PERF_SYMBOL */ | 128 | #endif /* __PERF_SYMBOL */ |