Commit da21d1b5 authored by Arnaldo Carvalho de Melo's avatar Arnaldo Carvalho de Melo Committed by Ingo Molnar

perf tools: Up the verbose level for some really verbose stuff

Like printing every symbol created.
Signed-off-by: default avatarArnaldo 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: default avatarIngo Molnar <mingo@elte.hu>
parent 9a92b479
...@@ -658,10 +658,10 @@ static int __cmd_annotate(void) ...@@ -658,10 +658,10 @@ static int __cmd_annotate(void)
if (dump_trace) if (dump_trace)
return 0; return 0;
if (verbose >= 3) if (verbose > 3)
threads__fprintf(stdout, &threads); threads__fprintf(stdout, &threads);
if (verbose >= 2) if (verbose > 2)
dsos__fprintf(stdout); dsos__fprintf(stdout);
collapse__resort(); collapse__resort();
......
...@@ -880,10 +880,10 @@ static int __cmd_report(void) ...@@ -880,10 +880,10 @@ static int __cmd_report(void)
if (dump_trace) if (dump_trace)
return 0; return 0;
if (verbose >= 3) if (verbose > 3)
threads__fprintf(stdout, &threads); threads__fprintf(stdout, &threads);
if (verbose >= 2) if (verbose > 2)
dsos__fprintf(stdout); dsos__fprintf(stdout);
collapse__resort(); collapse__resort();
......
...@@ -74,7 +74,7 @@ static struct symbol *symbol__new(u64 start, u64 len, const char *name, ...@@ -74,7 +74,7 @@ static struct symbol *symbol__new(u64 start, u64 len, const char *name,
if (!self) if (!self)
return NULL; return NULL;
if (v >= 2) if (v > 2)
printf("new symbol: %016Lx [%08lx]: %s, hist: %p\n", printf("new symbol: %016Lx [%08lx]: %s, hist: %p\n",
start, (unsigned long)len, name, self->hist); 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, ...@@ -685,7 +685,7 @@ static int dso__load_sym(struct dso *self, struct map *map, const char *name,
} }
if (self->adjust_symbols) { if (self->adjust_symbols) {
if (v >= 2) if (v > 2)
printf("adjusting symbol: st_value: %Lx sh_addr: %Lx sh_offset: %Lx\n", 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); (u64)sym.st_value, (u64)shdr.sh_addr, (u64)shdr.sh_offset);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment