]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commite3b60bc93d81e0542ac433df226b8de8b963533e
treecf0fb6858530dd6f9ca1b3ca2728cb3d369bc2a4
parent5ff3e7a224d40f9dd73625b91377787034a8b35e
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