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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/perf/util/symbol.h b/tools/perf/util/symbol.h
index fb0be9e92bf3..11d41952ce04 100644
--- a/tools/perf/util/symbol.h
+++ b/tools/perf/util/symbol.h
@@ -69,10 +69,10 @@ struct dso {
69 struct symbol *(*find_function)(struct dso *, u64 ip); 69 struct symbol *(*find_function)(struct dso *, u64 ip);
70 u8 adjust_symbols:1; 70 u8 adjust_symbols:1;
71 u8 slen_calculated:1; 71 u8 slen_calculated:1;
72 u8 loaded:1;
73 u8 has_build_id:1; 72 u8 has_build_id:1;
74 u8 kernel:1; 73 u8 kernel:1;
75 unsigned char origin; 74 unsigned char origin;
75 u8 loaded;
76 u8 build_id[BUILD_ID_SIZE]; 76 u8 build_id[BUILD_ID_SIZE];
77 u16 long_name_len; 77 u16 long_name_len;
78 const char *short_name; 78 const char *short_name;
@@ -85,6 +85,8 @@ void dso__delete(struct dso *self);
85 85
86struct symbol *dso__find_function(struct dso *self, u64 ip); 86struct symbol *dso__find_function(struct dso *self, u64 ip);
87 87
88bool dso__loaded(const struct dso *self, enum map_type type);
89
88struct dso *dsos__findnew(const char *name); 90struct dso *dsos__findnew(const char *name);
89int dso__load(struct dso *self, struct map *map, symbol_filter_t filter); 91int dso__load(struct dso *self, struct map *map, symbol_filter_t filter);
90void dsos__fprintf(FILE *fp); 92void dsos__fprintf(FILE *fp);