perf timechart: Show the duration of scheduler delays in the SVG
authorArjan van de Ven <arjan@linux.intel.com>
Sun, 20 Sep 2009 16:13:53 +0000 (18:13 +0200)
committerIngo Molnar <mingo@elte.hu>
Sun, 20 Sep 2009 17:37:35 +0000 (19:37 +0200)
commita92fe7b3063db2caa578872fce975ff53aa56214
treeff864f33e311daacb119e578f39e1fcac2275240
parent4f1202c8e61478984ed2d0df616149faf84c2a7f
perf timechart: Show the duration of scheduler delays in the SVG

Given that scheduler latencies are the hot thing nowadays, show the
duration of said latencies in the SVG in text form.

In addition, if the latency is more than 10 msec, pick a brighter
yellow color as a way to point these long delays out.

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <20090920181353.796f4509@linux.intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/builtin-timechart.c
tools/perf/util/svghelper.c
tools/perf/util/svghelper.h