]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
perf annotate: Simplify header dotted line sizing
authorPeter Zijlstra (Intel) <peterz@infradead.org>
Thu, 30 Jun 2016 12:17:26 +0000 (09:17 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 30 Jun 2016 12:21:03 +0000 (09:21 -0300)
commit53dd9b5f95dda95bcadda1b4680be42dfe1f9e5e
tree000a4f7f2bd51f0fd1685b4c69c0a0e156305dd6
parentf4e47f9f7b0bcbb1069b93bd719a1d34fb37d933
perf annotate: Simplify header dotted line sizing

No need to use strlen, etc to figure that out, just use the return from
printf(), it will tell how wide the following line needs to be.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Link: http://lkml.kernel.org/r/20160630082955.GA30921@twins.programming.kicks-ass.net
[ split from a larger patch ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/annotate.c