diff options
Diffstat (limited to 'tools/perf/util/symbol.c')
-rw-r--r-- | tools/perf/util/symbol.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/perf/util/symbol.c b/tools/perf/util/symbol.c index dc25231813ee..0b8a298d41ad 100644 --- a/tools/perf/util/symbol.c +++ b/tools/perf/util/symbol.c | |||
@@ -36,6 +36,7 @@ static int dso__load_kernel_sym(struct dso *self, struct map *map, | |||
36 | unsigned int symbol__priv_size; | 36 | unsigned int symbol__priv_size; |
37 | static int vmlinux_path__nr_entries; | 37 | static int vmlinux_path__nr_entries; |
38 | static char **vmlinux_path; | 38 | static char **vmlinux_path; |
39 | static struct map *kernel_map__functions; | ||
39 | 40 | ||
40 | static struct symbol_conf symbol_conf__defaults = { | 41 | static struct symbol_conf symbol_conf__defaults = { |
41 | .use_modules = true, | 42 | .use_modules = true, |
@@ -1164,8 +1165,6 @@ out: | |||
1164 | return ret; | 1165 | return ret; |
1165 | } | 1166 | } |
1166 | 1167 | ||
1167 | struct map *kernel_map__functions; | ||
1168 | |||
1169 | static void kernel_maps__insert(struct map *map) | 1168 | static void kernel_maps__insert(struct map *map) |
1170 | { | 1169 | { |
1171 | maps__insert(&kernel_maps__functions, map); | 1170 | maps__insert(&kernel_maps__functions, map); |