perf tools: Move get_term_dimensions from top to util.c
authorDavid Ahern <[email protected]>
Mon, 14 Jan 2013 17:48:01 +0000 (10:48 -0700)
committerArnaldo Carvalho de Melo <[email protected]>
Thu, 24 Jan 2013 19:40:34 +0000 (16:40 -0300)
commit2c803e5248d038988ec7c52e8fd7c83130dd3c13
tree7be870a45610585b34258b6a5da0551f5613e301
parentb7c14a0b6a4e3add92e1527a31cb1826f4799248
perf tools: Move get_term_dimensions from top to util.c

It is used by util/help.c so it should be a lib function and included in
libperf.a. Code move only.

Signed-off-by: David Ahern <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/perf/builtin-top.c
tools/perf/perf.h
tools/perf/util/util.c
tools/perf/util/util.h