summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/svghelper.h
diff options
context:
space:
mode:
authorArjan van de Ven <arjan@linux.intel.com>2009-09-20 18:13:53 +0200
committerIngo Molnar <mingo@elte.hu>2009-09-20 19:37:35 +0200
commita92fe7b3063db2caa578872fce975ff53aa56214 (patch)
treeff864f33e311daacb119e578f39e1fcac2275240 /tools/perf/util/svghelper.h
parentperf timechart: Show the name of the waker/wakee in timechart (diff)
downloadlinux-a92fe7b3063db2caa578872fce975ff53aa56214.tar.xz
linux-a92fe7b3063db2caa578872fce975ff53aa56214.zip
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>
Diffstat (limited to '')
-rw-r--r--tools/perf/util/svghelper.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/util/svghelper.h b/tools/perf/util/svghelper.h
index 8260a7e6e314..ed4ebcfaf493 100644
--- a/tools/perf/util/svghelper.h
+++ b/tools/perf/util/svghelper.h
@@ -5,7 +5,8 @@
extern void open_svg(const char *filename, int cpus, int rows);
extern void svg_box(int Yslot, u64 start, u64 end, const char *type);
-extern void svg_sample(int Yslot, int cpu, u64 start, u64 end, const char *type);
+extern void svg_sample(int Yslot, int cpu, u64 start, u64 end);
+extern void svg_waiting(int Yslot, u64 start, u64 end);
extern void svg_cpu_box(int cpu, u64 max_frequency, u64 turbo_frequency);