diff options
Diffstat (limited to 'tools/perf/util/symbol.h')
-rw-r--r-- | tools/perf/util/symbol.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/perf/util/symbol.h b/tools/perf/util/symbol.h index e6a59e5c2bea..e90568a9e467 100644 --- a/tools/perf/util/symbol.h +++ b/tools/perf/util/symbol.h | |||
@@ -121,6 +121,11 @@ void dso__delete(struct dso *self); | |||
121 | bool dso__loaded(const struct dso *self, enum map_type type); | 121 | bool dso__loaded(const struct dso *self, enum map_type type); |
122 | bool dso__sorted_by_name(const struct dso *self, enum map_type type); | 122 | bool dso__sorted_by_name(const struct dso *self, enum map_type type); |
123 | 123 | ||
124 | static inline void dso__set_loaded(struct dso *self, enum map_type type) | ||
125 | { | ||
126 | self->loaded |= (1 << type); | ||
127 | } | ||
128 | |||
124 | void dso__sort_by_name(struct dso *self, enum map_type type); | 129 | void dso__sort_by_name(struct dso *self, enum map_type type); |
125 | 130 | ||
126 | extern struct list_head dsos__user, dsos__kernel; | 131 | extern struct list_head dsos__user, dsos__kernel; |
@@ -161,5 +166,4 @@ int kallsyms__parse(const char *filename, void *arg, | |||
161 | int symbol__init(void); | 166 | int symbol__init(void); |
162 | bool symbol_type__is_a(char symbol_type, enum map_type map_type); | 167 | bool symbol_type__is_a(char symbol_type, enum map_type map_type); |
163 | 168 | ||
164 | extern struct dso *vdso; | ||
165 | #endif /* __PERF_SYMBOL */ | 169 | #endif /* __PERF_SYMBOL */ |