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>
Showing
- tools/perf/util/ui/browser.c 17 additions, 1 deletiontools/perf/util/ui/browser.c
- tools/perf/util/ui/browser.h 3 additions, 1 deletiontools/perf/util/ui/browser.h
- tools/perf/util/ui/browsers/annotate.c 3 additions, 5 deletionstools/perf/util/ui/browsers/annotate.c
- tools/perf/util/ui/browsers/hists.c 4 additions, 1 deletiontools/perf/util/ui/browsers/hists.c
- tools/perf/util/ui/browsers/map.c 4 additions, 6 deletionstools/perf/util/ui/browsers/map.c
- tools/perf/util/ui/helpline.c 1 addition, 1 deletiontools/perf/util/ui/helpline.c
- tools/perf/util/ui/helpline.h 1 addition, 0 deletionstools/perf/util/ui/helpline.h
Loading
Please register or sign in to comment