diff options
author | 2009-06-04 15:40:25 +0200 | |
---|---|---|
committer | 2009-06-04 15:40:25 +0200 | |
commit | 13d0ab5ec29852a6925f612830fa9e822669ece6 (patch) | |
tree | 614ac0463dd3648bc8079e2ea795752af9cb1272 /tools/perf/util/parse-options.c | |
parent | perf_counter tools: Add color terminal output support (diff) | |
download | wireguard-linux-13d0ab5ec29852a6925f612830fa9e822669ece6.tar.xz wireguard-linux-13d0ab5ec29852a6925f612830fa9e822669ece6.zip |
perf_counter tools: Dont output in color on !tty
Dont emit ASCII color characters if the terminal is not a tty,
such as when perf report gets redirected into a file.
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/util/parse-options.c')
0 files changed, 0 insertions, 0 deletions