diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-06-04 15:40:25 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-06-04 15:40:25 +0200 |
commit | 13d0ab5ec29852a6925f612830fa9e822669ece6 (patch) | |
tree | 614ac0463dd3648bc8079e2ea795752af9cb1272 /include | |
parent | 8fc0321f1ad0ffef969056dda91b453bbd7a494d (diff) |
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 'include')
0 files changed, 0 insertions, 0 deletions