]> git.baikalelectronics.ru Git - kernel.git/commit
perf diff: Color the Delta column
authorRamkumar Ramachandra <artagnon@gmail.com>
Mon, 30 Dec 2013 07:34:19 +0000 (13:04 +0530)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 13 Jan 2014 14:36:46 +0000 (11:36 -0300)
commit2c088735a51361cc75f8db5af8761738df4fcdad
treec21da91aae7f0b9c91a12bfdab4a2c6c4f4e79ec
parentccbdcb84399f1f2177154e6c44b2a5e181e58713
perf diff: Color the Delta column

Color the numbers in the Delta column using percent_color_snprintf().

Generalize the coloring function so that we can accommodate all three
comparison methods in future patches: delta, ratio, and wdiff.

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/1388388861-7931-3-git-send-email-artagnon@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-diff.c