summaryrefslogtreecommitdiffstats
path: root/tools/perf/ui/helpline.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/ui/helpline.c')
-rw-r--r--tools/perf/ui/helpline.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/perf/ui/helpline.c b/tools/perf/ui/helpline.c
index 5b74a7e..379039a 100644
--- a/tools/perf/ui/helpline.c
+++ b/tools/perf/ui/helpline.c
@@ -72,3 +72,13 @@ int ui_helpline__vshow(const char *fmt, va_list ap)
{
return helpline_fns->show(fmt, ap);
}
+
+void ui_helpline__printf(const char *fmt, ...)
+{
+ va_list ap;
+
+ ui_helpline__pop();
+ va_start(ap, fmt);
+ ui_helpline__vpush(fmt, ap);
+ va_end(ap);
+}
OpenPOWER on IntegriCloud