diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2009-08-12 04:03:49 -0400 |
---|---|---|
committer | Frederic Weisbecker <fweisbec@gmail.com> | 2009-08-12 06:02:38 -0400 |
commit | cd84c2ac6d6425dd4d1b80a2231e534b9b03df18 (patch) | |
tree | 943332327f02f7a056dc87c64e72e340c484ede6 /tools/perf/builtin-top.c | |
parent | 9f8666971185b86615a074bcac67c90fdf8af8bc (diff) |
perf tools: Factorize high level dso helpers
Factorize multiple definitions of high level dso helpers into the
symbol source file.
The side effect is a general export of the verbose and eprintf
debugging helpers into a new file dedicated to debugging purposes.
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Brice Goglin <Brice.Goglin@inria.fr>
Diffstat (limited to 'tools/perf/builtin-top.c')
-rw-r--r-- | tools/perf/builtin-top.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/perf/builtin-top.c b/tools/perf/builtin-top.c index 7de28ce9ca26..0aa567371bd3 100644 --- a/tools/perf/builtin-top.c +++ b/tools/perf/builtin-top.c | |||
@@ -68,8 +68,6 @@ static int group = 0; | |||
68 | static unsigned int page_size; | 68 | static unsigned int page_size; |
69 | static unsigned int mmap_pages = 16; | 69 | static unsigned int mmap_pages = 16; |
70 | static int freq = 0; | 70 | static int freq = 0; |
71 | static int verbose = 0; | ||
72 | static char *vmlinux = NULL; | ||
73 | 71 | ||
74 | static int delay_secs = 2; | 72 | static int delay_secs = 2; |
75 | static int zero; | 73 | static int zero; |
@@ -338,8 +336,6 @@ static void show_details(struct sym_entry *syme) | |||
338 | printf("%d lines not displayed, maybe increase display entries [e]\n", more); | 336 | printf("%d lines not displayed, maybe increase display entries [e]\n", more); |
339 | } | 337 | } |
340 | 338 | ||
341 | struct dso *kernel_dso; | ||
342 | |||
343 | /* | 339 | /* |
344 | * Symbols will be added here in record_ip and will get out | 340 | * Symbols will be added here in record_ip and will get out |
345 | * after decayed. | 341 | * after decayed. |