perf tools: Make symbol_conf static
authorFrederic Weisbecker <fweisbec@gmail.com>
Tue, 15 Dec 2009 02:15:22 +0000 (03:15 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 15 Dec 2009 07:52:31 +0000 (08:52 +0100)
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>
tools/perf/builtin-report.c
tools/perf/builtin-top.c

index beff7c0..40389c0 100644 (file)
@@ -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
index 3b212bb..296e809 100644 (file)
@@ -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