]> git.baikalelectronics.ru Git - kernel.git/commit
perf report: Use less for scripts output
authorAndi Kleen <ak@linux.intel.com>
Sat, 9 Mar 2019 05:56:20 +0000 (21:56 -0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 11 Mar 2019 17:03:43 +0000 (14:03 -0300)
commit4df9857b8d8fa3839222b46d24bac582b6d54e41
tree26c02de0a7d36c1a0aee67525195f747dbd413d6
parentd9fca5e32819be26c88f82b3b99b497b242c188e
perf report: Use less for scripts output

The UI viewer for scripts output has a lot of limitations: limited size,
no search or save function, slow, and various other issues.

Just use 'less' to display directly on the terminal instead.

This won't work in GTK mode, but GTK doesn't support these context menus
anyways. If that is ever done could use an terminal for the output.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Acked-by: Feng Tang <feng.tang@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Link: http://lkml.kernel.org/r/20190309055628.21617-8-andi@firstfloor.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/ui/browsers/scripts.c