diff options
author | Stanislav Fomichev <stfomichev@yandex-team.ru> | 2013-11-01 17:25:49 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2013-11-27 18:58:37 +0100 |
commit | cbb2e81e5232b1bca5cd2aa1d7a7eb1cd30f8304 (patch) | |
tree | 073cc96a7374632ac1a991238ad9d29c31213b2b /tools/perf/util/svghelper.h | |
parent | perf timechart: Add support for displaying only tasks related data (diff) | |
download | linux-cbb2e81e5232b1bca5cd2aa1d7a7eb1cd30f8304.tar.xz linux-cbb2e81e5232b1bca5cd2aa1d7a7eb1cd30f8304.zip |
perf timechart: Group figures and add title with details
Add titles to figures so we can run SVG interactively in Firefox and
check event details in the tooltips.
This also aids exploring SVG with Inkscape because when user clicks on
one part of logical figure, all parts are selected.
It's also possible to read titles with Inkscape in the object details.
Signed-off-by: Stanislav Fomichev <stfomichev@yandex-team.ru>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1383323151-19810-6-git-send-email-stfomichev@yandex-team.ru
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/svghelper.h')
-rw-r--r-- | tools/perf/util/svghelper.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/perf/util/svghelper.h b/tools/perf/util/svghelper.h index e0781989cc31..aa533459ab76 100644 --- a/tools/perf/util/svghelper.h +++ b/tools/perf/util/svghelper.h @@ -5,8 +5,9 @@ extern void open_svg(const char *filename, int cpus, int rows, u64 start, u64 end); 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); -extern void svg_waiting(int Yslot, u64 start, u64 end); +extern void svg_blocked(int Yslot, int cpu, u64 start, u64 end); +extern void svg_running(int Yslot, int cpu, u64 start, u64 end); +extern void svg_waiting(int Yslot, int cpu, u64 start, u64 end); extern void svg_cpu_box(int cpu, u64 max_frequency, u64 turbo_frequency); |