aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorAndi Kleen <[email protected]>2020-05-21 19:09:14 -0700
committerArnaldo Carvalho de Melo <[email protected]>2020-05-28 10:03:28 -0300
commit8c3e05c827ef687215723680862ebd2d431dee49 (patch)
tree0335afd20648ba3b393a4813a2d8ac1fa7da80da /tools/perf/scripts/python/export-to-sqlite.py
parente2ce1059b0b3d032aa07cc51c24d28ec498feb5f (diff)
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 <[email protected]> Cc: Jiri Olsa <[email protected]> Link: http://lore.kernel.org/lkml/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions