perf ui browser: Add ui_browser__show counterpart: __hide
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 10 Aug 2010 18:44:20 +0000 (15:44 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 10 Aug 2010 18:44:20 +0000 (15:44 -0300)
commit59e8fe32fc0cc9dff6b0c269d099a49e004dc45e
tree55133961ebcbf9ea5b5ab674360207876c189349
parentf1e9214cc99644101d957c5c660946c6f2f86d7c
perf ui browser: Add ui_browser__show counterpart: __hide

So that the common tasks of providing a helpline at __run entry and
destroying the window and releasing resourses at exit can be abstracted
away, reducing a bit more the coupling with libnewt.

Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
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.c
tools/perf/util/ui/helpline.h