Browse Source

perf tools: Make symbol_conf static

perf top, report and annotate all define their own symbol_conf,
it should be static.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
LKML-Reference: <1260843322-6602-1-git-send-regression-fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Frederic Weisbecker 15 years ago
parent
commit
c249a4ce79
2 changed files with 2 additions and 2 deletions
  1. 1 1
      tools/perf/builtin-report.c
  2. 1 1
      tools/perf/builtin-top.c

+ 1 - 1
tools/perf/builtin-report.c

@@ -52,7 +52,7 @@ static int		exclude_other = 1;
 
 
 static char		callchain_default_opt[] = "fractal,0.5";
 static char		callchain_default_opt[] = "fractal,0.5";
 
 
-struct symbol_conf	symbol_conf;
+static struct symbol_conf	symbol_conf;
 
 
 
 
 static size_t
 static size_t

+ 1 - 1
tools/perf/builtin-top.c

@@ -80,7 +80,7 @@ static int			dump_symtab                     =      0;
 static bool			hide_kernel_symbols		=  false;
 static bool			hide_kernel_symbols		=  false;
 static bool			hide_user_symbols		=  false;
 static bool			hide_user_symbols		=  false;
 static struct winsize		winsize;
 static struct winsize		winsize;
-struct symbol_conf		symbol_conf;
+static struct symbol_conf	symbol_conf;
 
 
 /*
 /*
  * Source
  * Source