perf sched timehist: Honour 'comm_width' when aligning the headers
authorNamhyung Kim <namhyung@kernel.org>
Thu, 22 Dec 2016 06:03:48 +0000 (15:03 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 22 Dec 2016 19:35:45 +0000 (16:35 -0300)
commit0e6758e8231d5905c2e267566e9bd679a68a7b00
tree0dd06a8dad10e2a56ae1c8997f149e3393d98f05
parent1134c2b5cb840409ffd966d8c2a9468f64e6a494
perf sched timehist: Honour 'comm_width' when aligning the headers

Current default value is 20, but that may change in the future, so make
places where we have 20 hardcoded use 'comm_width'.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/20161222060350.17655-1-namhyung@kernel.org
[ Split from a larger patch ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-sched.c