linux/tools
Andi Kleen 8c3e05c827 perf script: Don't force less for non tty output with --xed
--xed currently forces less. When piping the output to other scripts
this can waste a lot of CPU time because less is rather slow.
I've seen it using up a full core on its own in a pipeline.
Only force less when the output is actually a terminal.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Link: http://lore.kernel.org/lkml/20200522020914.527564-1-andi@firstfloor.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2020-05-28 10:03:28 -03:00
..
accounting
arch
bootconfig
bpf
build
cgroup
debugging
edid
firewire
firmware
gpio
hv
iio
include
io_uring
kvm/kvm_stat
laptop
leds
lib Linux 5.7-rc7 2020-05-28 07:58:12 +02:00
memory-model
nfsd
objtool
pci
pcmcia
perf perf script: Don't force less for non tty output with --xed 2020-05-28 10:03:28 -03:00
power
scripts
spi
testing
thermal/tmon
time
usb
virtio
vm
wmi
Makefile