Skip to content
Commit bcd16496 authored by Pavel Emelyanov's avatar Pavel Emelyanov
Browse files

cg: Use relative paths in cgroup dirs image



Before the patch cg tree section from cgroup00 test looked like this

{
	cnames: "name=zdtmtst"
	dirs: 	{
		path: "/subcg"
		children: 		{
			path: "/subcg/subsubcg"
			children: <empty>
			properties: <empty>
		}

		properties: <empty>
	}

}

this /subsg in the children is excessive. Turn this into directory names.
Now the section looks like

{
	cnames: "name=zdtmtst"
	dirs: 	{
		dir_name: "subcg"
		children: 		{
			dir_name: "subsubcg"
			children: <empty>
			properties: <empty>
		}

		properties: <empty>
	}

}

Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
Acked-by: default avatarTycho Andersen <tycho.andersen@canonical.com>
parent bf91821f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment