diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-06-04 09:19:47 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-06-04 09:28:11 -0400 |
commit | 8fc0321f1ad0ffef969056dda91b453bbd7a494d (patch) | |
tree | 8931ad2c6582a2f59930301c3c099aa1532bb14c /Documentation/perf_counter/util/environment.c | |
parent | 71dd8945d8d827ab101cd287f9480ef22fc7c1b6 (diff) |
perf_counter tools: Add color terminal output support
Add Git's color printing library to util/color.[ch].
Add it to perf report, with a trivial example to print high-overhead
entries in red, low-overhead entries in green.
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/util/environment.c')
-rw-r--r-- | Documentation/perf_counter/util/environment.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/perf_counter/util/environment.c b/Documentation/perf_counter/util/environment.c index 9b1c8199e729..275b0ee345f5 100644 --- a/Documentation/perf_counter/util/environment.c +++ b/Documentation/perf_counter/util/environment.c | |||
@@ -6,3 +6,4 @@ | |||
6 | #include "cache.h" | 6 | #include "cache.h" |
7 | 7 | ||
8 | const char *pager_program; | 8 | const char *pager_program; |
9 | int pager_use_color = 1; | ||