[PATCH v3 4/4] perf diff: color the Weighted Diff column

2013-11-27 Thread Ramkumar Ramachandra
In $ perf diff -c wdiff:M,N color the numbers in the Weighted Diff column either green or red, depending on whether the number is positive or negative. Cc: Jiri Olsa Cc: Namhyung Kim Cc: Arnaldo Carvalho de Melo Signed-off-by: Ramkumar Ramachandra --- tools/perf/builtin-diff.c | 22

[PATCH v3 4/4] perf diff: color the Weighted Diff column

2013-11-27 Thread Ramkumar Ramachandra
In $ perf diff -c wdiff:M,N color the numbers in the Weighted Diff column either green or red, depending on whether the number is positive or negative. Cc: Jiri Olsa jo...@redhat.com Cc: Namhyung Kim namhy...@kernel.org Cc: Arnaldo Carvalho de Melo a...@redhat.com Signed-off-by: Ramkumar