X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fbootchart%2Fsvg.c;fp=src%2Fbootchart%2Fsvg.c;h=a53f98a941fea55d7fe980e144dde85ceb6d9623;hb=49e5b2a93339869703d581a06f8d903f8371ab60;hp=7438e472fb29415af15294b33c57c9a14310cdb3;hpb=e6c474723dc66cd4765fd09453d6b48bd5905ba4;p=elogind.git
diff --git a/src/bootchart/svg.c b/src/bootchart/svg.c
index 7438e472f..a53f98a94 100644
--- a/src/bootchart/svg.c
+++ b/src/bootchart/svg.c
@@ -1093,12 +1093,13 @@ static void svg_ps_bars(void) {
w = starttime;
/* text label of process name */
- svg(" [%i]%.03fs\n",
+ svg(" [%i]%.03fs %s\n",
time_to_graph(w - graph_start) + 5.0,
ps_to_graph(j) + 14.0,
ps->name,
ps->pid,
- (ps->last->runtime - ps->first->runtime) / 1000000000.0);
+ (ps->last->runtime - ps->first->runtime) / 1000000000.0,
+ arg_show_cgroup ? ps->cgroup : "");
/* paint lines to the parent process */
if (ps->parent) {
/* horizontal part */