From 6c7ea7af9cd4c1cadb7ad3fac3bbd80ca27d67a8 Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Mon, 21 Jul 2014 14:47:03 +0400 Subject: [PATCH] cgroup: prepare_cgroup_dirs -- Add some more debug printouts Signed-off-by: Cyrill Gorcunov Signed-off-by: Pavel Emelyanov --- cgroup.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cgroup.c b/cgroup.c index 31dbc49ac..a12383b56 100644 --- a/cgroup.c +++ b/cgroup.c @@ -677,6 +677,7 @@ static int prepare_cgroup_dirs(char *paux, size_t off, CgroupDirEntry **ents, si sprintf(paux + off, "/%s", e->path); + pr_debug("\t`- %s\n", paux); if (mkdirp(paux)) { pr_perror("Can't make cgroup dir %s", paux); return -1; @@ -766,6 +767,7 @@ static int prepare_cgroup_sfd(CgroupEntry *ce) name_off = sprintf(paux + off, "/%s", name); + pr_debug("\tMaking subdir %s\n", paux); if (mkdir(paux, 0700)) { pr_perror("Can't make cgyard subdir %s", paux); goto err;