perf ui browser: Handle SIGWINCH
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 13 Oct 2011 11:52:46 +0000 (08:52 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 13 Oct 2011 11:52:46 +0000 (08:52 -0300)
commit3af6e33867b3814a73c3f3ba991a13d7304ad23a
tree28f0f4071736faca07252439a0037e27f0895a53
parent33e27312aeb05798572ccc456a76321125e8d7cb
perf ui browser: Handle SIGWINCH

To do that we needed to stop using newtForm, as we don't want libnewt to
catch the xterm resize signal.

Remove some more newt calls and instead use the underlying libslang
directly. In time tools/perf will use just libslang.

Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-h1824yjiru5n2ivz4bseizwj@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-top.c
tools/perf/perf.c
tools/perf/perf.h
tools/perf/util/ui/browser.c
tools/perf/util/ui/browser.h
tools/perf/util/ui/browsers/annotate.c
tools/perf/util/ui/browsers/hists.c
tools/perf/util/ui/browsers/map.c
tools/perf/util/ui/helpline.h