diff options
Diffstat (limited to 'tools/perf')
-rw-r--r-- | tools/perf/util/symbol.c | 2 | ||||
-rw-r--r-- | tools/perf/util/symbol.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/util/symbol.c b/tools/perf/util/symbol.c index ba85d4ffef06..bbb24e951656 100644 --- a/tools/perf/util/symbol.c +++ b/tools/perf/util/symbol.c | |||
@@ -1596,7 +1596,7 @@ void dsos__add(struct list_head *head, struct dso *dso) | |||
1596 | list_add_tail(&dso->node, head); | 1596 | list_add_tail(&dso->node, head); |
1597 | } | 1597 | } |
1598 | 1598 | ||
1599 | static struct dso *dsos__find(struct list_head *head, const char *name) | 1599 | struct dso *dsos__find(struct list_head *head, const char *name) |
1600 | { | 1600 | { |
1601 | struct dso *pos; | 1601 | struct dso *pos; |
1602 | 1602 | ||
diff --git a/tools/perf/util/symbol.h b/tools/perf/util/symbol.h index 41a15dac4120..dde8a26f7be3 100644 --- a/tools/perf/util/symbol.h +++ b/tools/perf/util/symbol.h | |||
@@ -294,6 +294,7 @@ static inline void dso__set_loaded(struct dso *dso, enum map_type type) | |||
294 | void dso__sort_by_name(struct dso *dso, enum map_type type); | 294 | void dso__sort_by_name(struct dso *dso, enum map_type type); |
295 | 295 | ||
296 | void dsos__add(struct list_head *head, struct dso *dso); | 296 | void dsos__add(struct list_head *head, struct dso *dso); |
297 | struct dso *dsos__find(struct list_head *head, const char *name); | ||
297 | struct dso *__dsos__findnew(struct list_head *head, const char *name); | 298 | struct dso *__dsos__findnew(struct list_head *head, const char *name); |
298 | 299 | ||
299 | int dso__load(struct dso *dso, struct map *map, symbol_filter_t filter); | 300 | int dso__load(struct dso *dso, struct map *map, symbol_filter_t filter); |