From f2eed37fac253284d565498d8c1f75404b7136ca Mon Sep 17 00:00:00 2001 From: Arnaldo Carvalho de Melo Date: Wed, 7 Oct 2009 10:49:00 -0300 Subject: [PATCH] --- yaml --- r: 169479 b: refs/heads/master c: da21d1b547cbaa2c026cf645753651c25d340923 h: refs/heads/master i: 169477: e47bce7e77b95a8a9e9e5fce1c811953dd5bf05a 169475: bcd482d3191489b41ee2ce672c35fa521a317c2b 169471: 81ebf2682c2b1c5ab9ba474f871d8bb3e1921e0f v: v3 --- [refs] | 2 +- trunk/tools/perf/builtin-annotate.c | 4 ++-- trunk/tools/perf/builtin-report.c | 4 ++-- trunk/tools/perf/util/symbol.c | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/[refs] b/[refs] index 4b83c301f692..fb8dca9b7025 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 9a92b479b2f088ee2d3194243f4c8e59b1b8c9c2 +refs/heads/master: da21d1b547cbaa2c026cf645753651c25d340923 diff --git a/trunk/tools/perf/builtin-annotate.c b/trunk/tools/perf/builtin-annotate.c index 35ed97bd0c63..8c84320ecb06 100644 --- a/trunk/tools/perf/builtin-annotate.c +++ b/trunk/tools/perf/builtin-annotate.c @@ -658,10 +658,10 @@ static int __cmd_annotate(void) if (dump_trace) return 0; - if (verbose >= 3) + if (verbose > 3) threads__fprintf(stdout, &threads); - if (verbose >= 2) + if (verbose > 2) dsos__fprintf(stdout); collapse__resort(); diff --git a/trunk/tools/perf/builtin-report.c b/trunk/tools/perf/builtin-report.c index 87c4582303bf..f57a23b19f3c 100644 --- a/trunk/tools/perf/builtin-report.c +++ b/trunk/tools/perf/builtin-report.c @@ -880,10 +880,10 @@ static int __cmd_report(void) if (dump_trace) return 0; - if (verbose >= 3) + if (verbose > 3) threads__fprintf(stdout, &threads); - if (verbose >= 2) + if (verbose > 2) dsos__fprintf(stdout); collapse__resort(); diff --git a/trunk/tools/perf/util/symbol.c b/trunk/tools/perf/util/symbol.c index 582ce72ca4d2..a6887f94dfe7 100644 --- a/trunk/tools/perf/util/symbol.c +++ b/trunk/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);