aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2016-01-11 19:53:14 +0900
committerArnaldo Carvalho de Melo <[email protected]>2016-01-12 12:42:08 -0300
commit090cff3eae8f02395009972d01b5dfdb95bcc327 (patch)
tree8ae9e325cc4f240b23a59726b8ba5866956a4a7d /tools/perf/util/trace-event-scripting.c
parent84cfac7f05e110e803a45d99cff0ba0949cc8d58 (diff)
perf ui/tui: Print helpline message as is
When a tip message contains a percent sign, it was treated printf format specifier so broken string was printed like below. Tip: Limit to show entries above 577nly: perf report --percent-limit 5 ^^^ As ui_browser__show receives format string, pass additional "%s" so that the help (tip) message can be printed as is. Tip: Limit to show entries above 5% only: perf report --percent-limit 5 Signed-off-by: Namhyung Kim <[email protected]> Cc: Andi Kleen <[email protected]> Cc: David Ahern <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Wang Nan <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions