perf diff: Color the Weighted Diff column
authorRamkumar Ramachandra <artagnon@gmail.com>
Mon, 30 Dec 2013 08:02:35 +0000 (13:32 +0530)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 13 Jan 2014 14:38:25 +0000 (11:38 -0300)
commita5846e215bd47f61133383822422c683600efa7a
treed39c8436988badf627f7f42e4c094a9f5148e133
parent1f513b2c1e8a2008b8ab767fdb6fa6c154591ed3
perf diff: Color the Weighted Diff column

In

  $ perf diff -c wdiff:M,N

color the numbers in the Weighted Diff column using color_snprintf(),
picking the colors using get_percent_color().

Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
Acked-by: Jiri Olsa <jolsa@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/r/1388390555-10808-1-git-send-email-artagnon@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-diff.c