]> 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)
commit2b2082d89aaeeff99f569ff180e43399402de528
tree26c02de0a7d36c1a0aee67525195f747dbd413d6
parent2301ba033e908a6e54d2aab4ad78152e4e7d24dd
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