summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/svghelper.h
diff options
context:
space:
mode:
authorStanislav Fomichev <stfomichev@yandex-team.ru>2013-12-02 18:37:34 +0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2013-12-16 16:33:57 -0300
commitde996228dedc74d9e72b749bbc8225f5e2bf19d8 (patch)
tree26f43c8849e73da0c655ac7cfcd7dcdb619922c6 /tools/perf/util/svghelper.h
parent8b6dcca017aa53fe13066411a653b5997c158a2c (diff)
downloadop-kernel-dev-de996228dedc74d9e72b749bbc8225f5e2bf19d8.zip
op-kernel-dev-de996228dedc74d9e72b749bbc8225f5e2bf19d8.tar.gz
perf timechart: Print pid along the name
Add PID to the figures of CPU usage timechart. Signed-off-by: Stanislav Fomichev <stfomichev@yandex-team.ru> Cc: Ingo Molnar <mingo@redhat.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Ramkumar Ramachandra <artagnon@gmail.com> Link: http://lkml.kernel.org/r/1385995056-20158-3-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/svghelper.h b/tools/perf/util/svghelper.h
index 7db6ae9..8b77ca6 100644
--- a/tools/perf/util/svghelper.h
+++ b/tools/perf/util/svghelper.h
@@ -11,7 +11,7 @@ extern void svg_waiting(int Yslot, int cpu, u64 start, u64 end, const char *back
extern void svg_cpu_box(int cpu, u64 max_frequency, u64 turbo_frequency);
-extern void svg_process(int cpu, u64 start, u64 end, const char *type, const char *name, const char *backtrace);
+extern void svg_process(int cpu, u64 start, u64 end, int pid, const char *type, const char *name, const char *backtrace);
extern void svg_cstate(int cpu, u64 start, u64 end, int type);
extern void svg_pstate(int cpu, u64 start, u64 end, u64 freq);
OpenPOWER on IntegriCloud