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)
commit75065a85a9705ad4c0135f07fd4467d46ff342a3
tree26c02de0a7d36c1a0aee67525195f747dbd413d6
parente51f806198306a8ad7ae6e34d1af0716ef73da80
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