diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2009-12-14 21:15:22 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-12-15 02:52:31 -0500 |
commit | c249a4ce796b30b742bb4854bf3039ced12ef8e5 (patch) | |
tree | f1f992df68e8ace8cb8f7a0a0460264217e13f7c /tools | |
parent | 86a9eee047ba09a714c3b8e27c9df2bbf715393a (diff) |
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>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/perf/builtin-report.c | 2 | ||||
-rw-r--r-- | tools/perf/builtin-top.c | 2 |
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; | |||
52 | 52 | ||
53 | static char callchain_default_opt[] = "fractal,0.5"; | 53 | static char callchain_default_opt[] = "fractal,0.5"; |
54 | 54 | ||
55 | struct symbol_conf symbol_conf; | 55 | static struct symbol_conf symbol_conf; |
56 | 56 | ||
57 | 57 | ||
58 | static size_t | 58 | 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; | |||
80 | static bool hide_kernel_symbols = false; | 80 | static bool hide_kernel_symbols = false; |
81 | static bool hide_user_symbols = false; | 81 | static bool hide_user_symbols = false; |
82 | static struct winsize winsize; | 82 | static struct winsize winsize; |
83 | struct symbol_conf symbol_conf; | 83 | static struct symbol_conf symbol_conf; |
84 | 84 | ||
85 | /* | 85 | /* |
86 | * Source | 86 | * Source |