perf_counter tools: Standardize color printing
authorIngo Molnar <mingo@elte.hu>
Mon, 8 Jun 2009 21:15:28 +0000 (23:15 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 8 Jun 2009 21:15:28 +0000 (23:15 +0200)
commitaefcf37b82886260d8540c9fb815e613c8977e06
tree8630ed802497d965edbc0c05b8599f805fa0cb47
parent80d496be89ed7dede5abee5c057634e80a31c82d
perf_counter tools: Standardize color printing

The rule is:

 - high overhead: red
 -  mid overhead: green
 -  low overhead: normal (white/black)

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>
tools/perf/builtin-annotate.c
tools/perf/builtin-report.c
tools/perf/builtin-top.c