diff options
Diffstat (limited to 'tools/perf')
-rw-r--r-- | tools/perf/util/symbol.c | 2 | ||||
-rw-r--r-- | tools/perf/util/symbol.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/tools/perf/util/symbol.c b/tools/perf/util/symbol.c index b9e0da57d84b..5dffcd132d15 100644 --- a/tools/perf/util/symbol.c +++ b/tools/perf/util/symbol.c | |||
@@ -64,7 +64,7 @@ static void dso__set_sorted_by_name(struct dso *self, enum map_type type) | |||
64 | self->sorted_by_name |= (1 << type); | 64 | self->sorted_by_name |= (1 << type); |
65 | } | 65 | } |
66 | 66 | ||
67 | static bool symbol_type__is_a(char symbol_type, enum map_type map_type) | 67 | bool symbol_type__is_a(char symbol_type, enum map_type map_type) |
68 | { | 68 | { |
69 | switch (map_type) { | 69 | switch (map_type) { |
70 | case MAP__FUNCTION: | 70 | case MAP__FUNCTION: |
diff --git a/tools/perf/util/symbol.h b/tools/perf/util/symbol.h index 21313e87c37b..b2b5330a82a0 100644 --- a/tools/perf/util/symbol.h +++ b/tools/perf/util/symbol.h | |||
@@ -139,6 +139,8 @@ int kallsyms__parse(void *arg, int (*process_symbol)(void *arg, const char *name | |||
139 | char type, u64 start)); | 139 | char type, u64 start)); |
140 | 140 | ||
141 | int symbol__init(void); | 141 | int symbol__init(void); |
142 | bool symbol_type__is_a(char symbol_type, enum map_type map_type); | ||
143 | |||
142 | int perf_session__create_kernel_maps(struct perf_session *self); | 144 | int perf_session__create_kernel_maps(struct perf_session *self); |
143 | 145 | ||
144 | extern struct list_head dsos__user, dsos__kernel; | 146 | extern struct list_head dsos__user, dsos__kernel; |