linux/tools/perf/ui/browsers
Namhyung Kim 090cff3eae 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 <namhyung@kernel.org>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/r/1452509594-13616-1-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2016-01-12 12:42:08 -03:00
..
annotate.c perf annotate: Don't die() when finding an invalid config option 2015-10-22 18:10:52 -03:00
Build perf build: Add slang objects building 2015-02-12 11:48:13 -03:00
header.c perf tools: Rename perf_session_env to perf_env 2015-08-28 14:53:55 -03:00
hists.c perf ui/tui: Print helpline message as is 2016-01-12 12:42:08 -03:00
map.c perf ui browsers: Remove help messages about use of right and arrow keys 2015-10-12 13:56:50 -03:00
map.h perf tools: Finish the removal of 'self' arguments 2013-11-05 15:32:36 -03:00
scripts.c perf ui browsers: Remove help messages about use of right and arrow keys 2015-10-12 13:56:50 -03:00