summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/symbol.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2009-10-07 10:49:00 -0300
committerIngo Molnar <mingo@elte.hu>2009-10-08 19:27:10 +0200
commitda21d1b547cbaa2c026cf645753651c25d340923 (patch)
tree383f0e81300bda79e6398cc1741e853a2891a67e /tools/perf/util/symbol.c
parent9a92b479b2f088ee2d3194243f4c8e59b1b8c9c2 (diff)
downloadblackbird-op-linux-da21d1b547cbaa2c026cf645753651c25d340923.tar.gz
blackbird-op-linux-da21d1b547cbaa2c026cf645753651c25d340923.zip
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/perf/util/symbol.c')
-rw-r--r--tools/perf/util/symbol.c4
1 files changed, 2 insertions, 2 deletions
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,
if (!self)
return NULL;
- if (v >= 2)
+ if (v > 2)
printf("new symbol: %016Lx [%08lx]: %s, hist: %p\n",
start, (unsigned long)len, name, self->hist);
@@ -685,7 +685,7 @@ static int dso__load_sym(struct dso *self, struct map *map, const char *name,
}
if (self->adjust_symbols) {
- if (v >= 2)
+ if (v > 2)
printf("adjusting symbol: st_value: %Lx sh_addr: %Lx sh_offset: %Lx\n",
(u64)sym.st_value, (u64)shdr.sh_addr, (u64)shdr.sh_offset);
OpenPOWER on IntegriCloud