aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/ui/helpline.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2010-08-10 15:44:20 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2010-08-10 15:44:20 -0300
commit59e8fe32fc0cc9dff6b0c269d099a49e004dc45e (patch)
tree55133961ebcbf9ea5b5ab674360207876c189349 /tools/perf/util/ui/helpline.h
parentperf annotate: Cycle thru sorted lines with samples (diff)
downloadlinux-dev-59e8fe32fc0cc9dff6b0c269d099a49e004dc45e.tar.xz
linux-dev-59e8fe32fc0cc9dff6b0c269d099a49e004dc45e.zip
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>
Diffstat (limited to 'tools/perf/util/ui/helpline.h')
-rw-r--r--tools/perf/util/ui/helpline.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/ui/helpline.h b/tools/perf/util/ui/helpline.h
index 5d1e5e72ffb5..ab6028d0c401 100644
--- a/tools/perf/util/ui/helpline.h
+++ b/tools/perf/util/ui/helpline.h
@@ -4,6 +4,7 @@
void ui_helpline__init(void);
void ui_helpline__pop(void);
void ui_helpline__push(const char *msg);
+void ui_helpline__vpush(const char *fmt, va_list ap);
void ui_helpline__fpush(const char *fmt, ...);
void ui_helpline__puts(const char *msg);