Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1698150 > unrolled thread

[PATCH v4 1/9] perf annotate: Widen "Event count" column when using --show-total-period

Started byTaeung Song <treeze.taeung@gmail.com>
First post2017-07-27 18:20 +0200
Last post2017-07-27 19:00 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH v4 1/9] perf annotate: Widen "Event count" column when using --show-total-period Taeung Song <treeze.taeung@gmail.com> - 2017-07-27 18:20 +0200
    Re: [PATCH v4 1/9] perf annotate: Widen "Event count" column when  using --show-total-period Arnaldo Carvalho de Melo <acme@kernel.org> - 2017-07-27 19:00 +0200

#1698150 — [PATCH v4 1/9] perf annotate: Widen "Event count" column when using --show-total-period

FromTaeung Song <treeze.taeung@gmail.com>
Date2017-07-27 18:20 +0200
Subject[PATCH v4 1/9] perf annotate: Widen "Event count" column when using --show-total-period
Message-ID<u7TG3-8lQ-49@gated-at.bofh.it>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Taeung Song <treeze.taeung@gmail.com>
---
 tools/perf/util/annotate.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/perf/util/annotate.c b/tools/perf/util/annotate.c
index c2b4b00..5963764 100644
--- a/tools/perf/util/annotate.c
+++ b/tools/perf/util/annotate.c
@@ -1142,7 +1142,7 @@ static int disasm_line__print(struct disasm_line *dl, struct symbol *sym, u64 st
 			color = get_percent_color(percent);
 
 			if (symbol_conf.show_total_period)
-				color_fprintf(stdout, color, " %7" PRIu64,
+				color_fprintf(stdout, color, " %11" PRIu64,
 					      sample.period);
 			else
 				color_fprintf(stdout, color, " %7.2f", percent);
-- 
2.7.4

[toc] | [next] | [standalone]


#1698200 — Re: [PATCH v4 1/9] perf annotate: Widen "Event count" column when using --show-total-period

FromArnaldo Carvalho de Melo <acme@kernel.org>
Date2017-07-27 19:00 +0200
SubjectRe: [PATCH v4 1/9] perf annotate: Widen "Event count" column when using --show-total-period
Message-ID<u7UiK-6K-35@gated-at.bofh.it>
In reply to#1698150
Em Fri, Jul 28, 2017 at 01:15:49AM +0900, Taeung Song escreveu:
> Cc: Jiri Olsa <jolsa@redhat.com>
> Cc: Namhyung Kim <namhyung@kernel.org>
> Signed-off-by: Taeung Song <treeze.taeung@gmail.com>
> ---
>  tools/perf/util/annotate.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/perf/util/annotate.c b/tools/perf/util/annotate.c
> index c2b4b00..5963764 100644
> --- a/tools/perf/util/annotate.c
> +++ b/tools/perf/util/annotate.c
> @@ -1142,7 +1142,7 @@ static int disasm_line__print(struct disasm_line *dl, struct symbol *sym, u64 st
>  			color = get_percent_color(percent);
>  
>  			if (symbol_conf.show_total_period)
> -				color_fprintf(stdout, color, " %7" PRIu64,
> +				color_fprintf(stdout, color, " %11" PRIu64,

This one is already at:

https://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git/commit/?h=perf/core&id=ce9ee4a2de20062a97ad50ecc11ebda7e7618fd1

- Arnaldo

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web