Skip to content

Commit

Permalink
perf tools: Make symbol_conf static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
fweisbec authored and Ingo Molnar committed Dec 15, 2009
1 parent 86a9eee commit c249a4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/perf/builtin-report.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tools/perf/builtin-top.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c249a4c

Please sign in to comment.