summaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-timechart.c
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/builtin-timechart.c
parent8b6dcca017aa53fe13066411a653b5997c158a2c (diff)
downloadblackbird-op-linux-de996228dedc74d9e72b749bbc8225f5e2bf19d8.tar.gz
blackbird-op-linux-de996228dedc74d9e72b749bbc8225f5e2bf19d8.zip
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/builtin-timechart.c')
-rw-r--r--tools/perf/builtin-timechart.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/builtin-timechart.c b/tools/perf/builtin-timechart.c
index d955095b6d63..99fe363f1de8 100644
--- a/tools/perf/builtin-timechart.c
+++ b/tools/perf/builtin-timechart.c
@@ -841,6 +841,7 @@ static void draw_cpu_usage(struct timechart *tchart)
svg_process(sample->cpu,
sample->start_time,
sample->end_time,
+ p->pid,
"sample",
c->comm,
sample->backtrace);
OpenPOWER on IntegriCloud