perf hists: Move column length calculation out of hists__inc_stats()
authorNamhyung Kim <namhyung@kernel.org>
Thu, 24 Apr 2014 07:25:19 +0000 (16:25 +0900)
committerJiri Olsa <jolsa@kernel.org>
Thu, 24 Apr 2014 14:30:58 +0000 (16:30 +0200)
commitae993efc9c6bd109b027d2799a442892067e9230
tree4a4ab931c3451d0cb406113dab40b3cf8b5ee66e
parent6263835a1b1ad137f3c26a1383c0487a9388d06e
perf hists: Move column length calculation out of hists__inc_stats()

It's not the part of logic of hists__inc_stats() so it'd be better to
move it out of the function.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/1398327843-31845-4-git-send-email-namhyung@kernel.org
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
tools/perf/builtin-diff.c
tools/perf/util/hist.c