]> git.baikalelectronics.ru Git - kernel.git/commit
perf hists: Factor out hists__reset_column_width()
authorNamhyung Kim <namhyung@kernel.org>
Tue, 20 Sep 2016 05:30:24 +0000 (14:30 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 20 Sep 2016 19:13:37 +0000 (16:13 -0300)
commit89696d35ca076d20a86cedfa030a3a11e37f7bb7
treecf0fb6858530dd6f9ca1b3ca2728cb3d369bc2a4
parent8bcc29daa47f9181c24a09d7f3f310ee6f6472da
perf hists: Factor out hists__reset_column_width()

The stdio and tui has same code to reset hpp format column width.
Factor it out as a new function.

Suggested-and-Acked-by: Jiri Olsa <jolsa@redhat.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20160920053025.13989-2-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/ui/browsers/hists.c
tools/perf/ui/hist.c
tools/perf/ui/stdio/hist.c
tools/perf/util/hist.h