commit | 13d0ab5ec29852a6925f612830fa9e822669ece6 | [log] [tgz] |
---|---|---|
author | Ingo Molnar <mingo@elte.hu> | Thu Jun 04 15:40:25 2009 +0200 |
committer | Ingo Molnar <mingo@elte.hu> | Thu Jun 04 15:40:25 2009 +0200 |
tree | 614ac0463dd3648bc8079e2ea795752af9cb1272 | |
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>