summaryrefslogtreecommitdiff
path: root/tools/perf/ui/helpline.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2016-11-25 21:48:25 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2016-11-25 21:49:16 +0300
commit9484b86e9cad903d3295d75c03961c3bdd1444a8 (patch)
treefc3705acc2a0e14d751a104767606bf71677b476 /tools/perf/ui/helpline.h
parent2471cece40d61b0035360338569d338f9dea6099 (diff)
downloadlinux-9484b86e9cad903d3295d75c03961c3bdd1444a8.tar.xz
perf ui helpline: Provide a printf variant
To print some values, like in the annotation code with invalid jump offsets. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Wang Nan <wangnan0@huawei.com> Link: http://lkml.kernel.org/n/tip-1vk0g5twas2ioswn1mmvnvwq@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/ui/helpline.h')
-rw-r--r--tools/perf/ui/helpline.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/ui/helpline.h b/tools/perf/ui/helpline.h
index 46181f4fc07e..d52d0a1a881b 100644
--- a/tools/perf/ui/helpline.h
+++ b/tools/perf/ui/helpline.h
@@ -21,6 +21,7 @@ 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);
+void ui_helpline__printf(const char *fmt, ...);
int ui_helpline__vshow(const char *fmt, va_list ap);
extern char ui_helpline__current[512];