diff options
author | Namhyung Kim <namhyung@kernel.org> | 2015-10-24 17:49:26 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-10-26 18:08:48 +0100 |
commit | 01b19455c08cc37d1c3ef174524278e84c92fec1 (patch) | |
tree | 6e518e485f1c6cd145e05d394c9bf3f69aab2fa6 /tools/perf/builtin-probe.c | |
parent | perf report: Rename to --show-cpu-utilization (diff) | |
download | linux-01b19455c08cc37d1c3ef174524278e84c92fec1.tar.xz linux-01b19455c08cc37d1c3ef174524278e84c92fec1.zip |
perf tools: Setup pager when printing usage and help
It's annoying to see error or help message when command has many options
like in perf record, report or top. So setup pager when print parser
error or help message - it should be OK since no UI is enabled at the
parsing time. The usage_with_options() already disables it by calling
exit_browser() anyway.
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Acked-by: Ingo Molnar <mingo@kernel.org>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1445701767-12731-3-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-probe.c')
0 files changed, 0 insertions, 0 deletions