[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-c249a4ce796b30b742bb4854bf3039ced12ef8e5@git.kernel.org>
Date: Tue, 15 Dec 2009 08:10:53 GMT
From: tip-bot for Frederic Weisbecker <fweisbec@...il.com>
To: linux-tip-commits@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, paulus@...ba.org, acme@...hat.com,
hpa@...or.com, mingo@...hat.com, peterz@...radead.org,
fweisbec@...il.com, tglx@...utronix.de, mingo@...e.hu
Subject: [tip:perf/urgent] perf tools: Make symbol_conf static
Commit-ID: c249a4ce796b30b742bb4854bf3039ced12ef8e5
Gitweb: http://git.kernel.org/tip/c249a4ce796b30b742bb4854bf3039ced12ef8e5
Author: Frederic Weisbecker <fweisbec@...il.com>
AuthorDate: Tue, 15 Dec 2009 03:15:22 +0100
Committer: Ingo Molnar <mingo@...e.hu>
CommitDate: Tue, 15 Dec 2009 08:52:31 +0100
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@...il.com>
Cc: Peter Zijlstra <peterz@...radead.org>
Cc: Arnaldo Carvalho de Melo <acme@...hat.com>
Cc: Paul Mackerras <paulus@...ba.org>
LKML-Reference: <1260843322-6602-1-git-send-regression-fweisbec@...il.com>
Signed-off-by: Ingo Molnar <mingo@...e.hu>
---
tools/perf/builtin-report.c | 2 +-
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 beff7c0..40389c0 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 3b212bb..296e809 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists