]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
cgroups: log fd of newly created cgroup 4085/head
authorChristian Brauner <christian.brauner@ubuntu.com>
Sun, 20 Feb 2022 14:51:13 +0000 (15:51 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Sun, 20 Feb 2022 14:52:10 +0000 (15:52 +0100)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/cgroups/cgfsng.c

index 0b753daf3d49c80588d144ea9ff1c74d73aef605..247b8bcd463df0e27bf7ec5d8be91af26b387362 100644 (file)
@@ -727,6 +727,7 @@ static int __cgroup_tree_create(int dfd_base, const char *path, mode_t mode,
                 * it will be automatically zapped if we return early.
                 */
                dfd_cur = dfd_final;
+               TRACE("Opened%s cgroup %s as %d", !ret ? " newly created" : "", cur, dfd_cur);
        }
 
        /* The final cgroup must be succesfully creatd by us. */