]> git.karo-electronics.de Git - linux-beck.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)
commit01f10bc85f538cd681d0a3338b97a33f308d944b
treec21da91aae7f0b9c91a12bfdab4a2c6c4f4e79ec
parentf77c6e9c8f9c444cd44423df0c2708e86a06a696
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