diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2009-10-07 09:49:00 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-10-08 13:27:10 -0400 |
commit | da21d1b547cbaa2c026cf645753651c25d340923 (patch) | |
tree | 383f0e81300bda79e6398cc1741e853a2891a67e /tools | |
parent | 9a92b479b2f088ee2d3194243f4c8e59b1b8c9c2 (diff) |
perf tools: Up the verbose level for some really verbose stuff
Like printing every symbol created.
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Mike Galbraith <efault@gmx.de>
LKML-Reference: <1254923340-4870-1-git-send-email-acme@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/perf/builtin-annotate.c | 4 | ||||
-rw-r--r-- | tools/perf/builtin-report.c | 4 | ||||
-rw-r--r-- | tools/perf/util/symbol.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/tools/perf/builtin-annotate.c b/tools/perf/builtin-annotate.c index 35ed97bd0c63..8c84320ecb06 100644 --- a/tools/perf/builtin-annotate.c +++ b/tools/perf/builtin-annotate.c | |||
@@ -658,10 +658,10 @@ more: | |||
658 | if (dump_trace) | 658 | if (dump_trace) |
659 | return 0; | 659 | return 0; |
660 | 660 | ||
661 | if (verbose >= 3) | 661 | if (verbose > 3) |
662 | threads__fprintf(stdout, &threads); | 662 | threads__fprintf(stdout, &threads); |
663 | 663 | ||
664 | if (verbose >= 2) | 664 | if (verbose > 2) |
665 | dsos__fprintf(stdout); | 665 | dsos__fprintf(stdout); |
666 | 666 | ||
667 | collapse__resort(); | 667 | collapse__resort(); |
diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c index 87c4582303bf..f57a23b19f3c 100644 --- a/tools/perf/builtin-report.c +++ b/tools/perf/builtin-report.c | |||
@@ -880,10 +880,10 @@ static int __cmd_report(void) | |||
880 | if (dump_trace) | 880 | if (dump_trace) |
881 | return 0; | 881 | return 0; |
882 | 882 | ||
883 | if (verbose >= 3) | 883 | if (verbose > 3) |
884 | threads__fprintf(stdout, &threads); | 884 | threads__fprintf(stdout, &threads); |
885 | 885 | ||
886 | if (verbose >= 2) | 886 | if (verbose > 2) |
887 | dsos__fprintf(stdout); | 887 | dsos__fprintf(stdout); |
888 | 888 | ||
889 | collapse__resort(); | 889 | collapse__resort(); |
diff --git a/tools/perf/util/symbol.c b/tools/perf/util/symbol.c index 582ce72ca4d2..a6887f94dfe7 100644 --- a/tools/perf/util/symbol.c +++ b/tools/perf/util/symbol.c | |||
@@ -74,7 +74,7 @@ static struct symbol *symbol__new(u64 start, u64 len, const char *name, | |||
74 | if (!self) | 74 | if (!self) |
75 | return NULL; | 75 | return NULL; |
76 | 76 | ||
77 | if (v >= 2) | 77 | if (v > 2) |
78 | printf("new symbol: %016Lx [%08lx]: %s, hist: %p\n", | 78 | printf("new symbol: %016Lx [%08lx]: %s, hist: %p\n", |
79 | start, (unsigned long)len, name, self->hist); | 79 | start, (unsigned long)len, name, self->hist); |
80 | 80 | ||
@@ -685,7 +685,7 @@ static int dso__load_sym(struct dso *self, struct map *map, const char *name, | |||
685 | } | 685 | } |
686 | 686 | ||
687 | if (self->adjust_symbols) { | 687 | if (self->adjust_symbols) { |
688 | if (v >= 2) | 688 | if (v > 2) |
689 | printf("adjusting symbol: st_value: %Lx sh_addr: %Lx sh_offset: %Lx\n", | 689 | printf("adjusting symbol: st_value: %Lx sh_addr: %Lx sh_offset: %Lx\n", |
690 | (u64)sym.st_value, (u64)shdr.sh_addr, (u64)shdr.sh_offset); | 690 | (u64)sym.st_value, (u64)shdr.sh_addr, (u64)shdr.sh_offset); |
691 | 691 | ||