diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-06-04 09:40:25 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-06-04 09:40:25 -0400 |
commit | 13d0ab5ec29852a6925f612830fa9e822669ece6 (patch) | |
tree | 614ac0463dd3648bc8079e2ea795752af9cb1272 /Documentation/perf_counter/builtin-report.c | |
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 'Documentation/perf_counter/builtin-report.c')
0 files changed, 0 insertions, 0 deletions