aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/symbol.c
diff options
context:
space:
mode:
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,
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