summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/perf/builtin-report.c2
-rw-r--r--tools/perf/builtin-top.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c
index beff7c090d2b..40389c0e38c6 100644
--- a/tools/perf/builtin-report.c
+++ b/tools/perf/builtin-report.c
@@ -52,7 +52,7 @@ static int exclude_other = 1;
static char callchain_default_opt[] = "fractal,0.5";
-struct symbol_conf symbol_conf;
+static struct symbol_conf symbol_conf;
static size_t
diff --git a/tools/perf/builtin-top.c b/tools/perf/builtin-top.c
index 3b212bb2e4df..296e809c2538 100644
--- a/tools/perf/builtin-top.c
+++ b/tools/perf/builtin-top.c
@@ -80,7 +80,7 @@ static int dump_symtab = 0;
static bool hide_kernel_symbols = false;
static bool hide_user_symbols = false;
static struct winsize winsize;
-struct symbol_conf symbol_conf;
+static struct symbol_conf symbol_conf;
/*
* Source