]> git.baikalelectronics.ru Git - kernel.git/commit
perf_counter tools: Add color terminal output support
authorIngo Molnar <mingo@elte.hu>
Thu, 4 Jun 2009 13:19:47 +0000 (15:19 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 4 Jun 2009 13:28:11 +0000 (15:28 +0200)
commit87dc406ca1511ab470a0aa15fea2d2df3831993f
tree8931ad2c6582a2f59930301c3c099aa1532bb14c
parent2cad3dcd477d1ee652766410d3a343e5ca2bf479
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>
Documentation/perf_counter/Makefile
Documentation/perf_counter/builtin-report.c
Documentation/perf_counter/builtin-top.c
Documentation/perf_counter/util/color.c [new file with mode: 0644]
Documentation/perf_counter/util/color.h [new file with mode: 0644]
Documentation/perf_counter/util/environment.c