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 beff7c090d2bfe281c38a01ad5e1b9a2ffbc6a3a..40389c0e38c6b72165facd2cf243caea068bfdd6 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 3b212bb2e4dfdfdb5fc86c5dfddc1b693f68decb..296e809c2538a7bc333dd82b2082d285629c0331 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