• Ingo Molnar's avatar
    perf_counter tools: Add color terminal output support · 8fc0321f
    Ingo Molnar authored
    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: default avatarIngo Molnar <mingo@elte.hu>
    8fc0321f
builtin-top.c 16.9 KB