aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/symbol.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/symbol.h')
-rw-r--r--tools/perf/util/symbol.h11
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
99void dso__sort_by_name(struct dso *self, enum map_type type); 99void dso__sort_by_name(struct dso *self, enum map_type type);
100 100
101struct perf_session;
102
101struct dso *dsos__findnew(const char *name); 103struct dso *dsos__findnew(const char *name);
102int dso__load(struct dso *self, struct map *map, symbol_filter_t filter); 104int dso__load(struct dso *self, struct map *map, struct perf_session *session,
105 symbol_filter_t filter);
103void dsos__fprintf(FILE *fp); 106void dsos__fprintf(FILE *fp);
104size_t dsos__fprintf_buildid(FILE *fp); 107size_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);
116bool dsos__read_build_ids(void); 119bool dsos__read_build_ids(void);
117int build_id__sprintf(u8 *self, int len, char *bf); 120int build_id__sprintf(u8 *self, int len, char *bf);
118 121
119size_t kernel_maps__fprintf(FILE *fp);
120
121int symbol__init(struct symbol_conf *conf); 122int symbol__init(struct symbol_conf *conf);
123int perf_session__create_kernel_maps(struct perf_session *self,
124 struct symbol_conf *conf);
122 125
123struct map_groups;
124struct map_groups *kmaps;
125extern struct list_head dsos__user, dsos__kernel; 126extern struct list_head dsos__user, dsos__kernel;
126extern struct dso *vdso; 127extern struct dso *vdso;
127#endif /* __PERF_SYMBOL */ 128#endif /* __PERF_SYMBOL */