From 49e5b2a93339869703d581a06f8d903f8371ab60 Mon Sep 17 00:00:00 2001 From: WaLyong Cho Date: Fri, 25 Apr 2014 00:50:51 +0900 Subject: bootchart: add control group option --- src/bootchart/svg.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/bootchart/svg.c') diff --git a/src/bootchart/svg.c b/src/bootchart/svg.c index 7438e472fb..a53f98a941 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 */ -- cgit v1.2.3-54-g00ecf