perf annotate stdio: Set enough columns for --show-total-period
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 26 Jul 2017 20:16:46 +0000 (17:16 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 26 Jul 2017 20:16:46 +0000 (17:16 -0300)
commitce9ee4a2de20062a97ad50ecc11ebda7e7618fd1
treeef980cf58a571de41ddf4d682f529601ab5e1ed4
parent64831a21db13495008665b33878e31b48c1e3dc7
perf annotate stdio: Set enough columns for --show-total-period

Now that we set the first column header according to wether
--show-total-period is being used, we need to size it accordingly.

Based-on-a-patch-by: Taeung Song <treeze.taeung@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Milian Wolff <milian.wolff@kdab.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/n/tip-pu504ffnit4m334k09hxcbs3@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/annotate.c