cgroups: log monitor and transient process entering

parent d1ee8719
...@@ -1483,6 +1483,8 @@ __cgfsng_ops static bool cgfsng_monitor_enter(struct cgroup_ops *ops, ...@@ -1483,6 +1483,8 @@ __cgfsng_ops static bool cgfsng_monitor_enter(struct cgroup_ops *ops,
if (ret) if (ret)
return log_error_errno(false, errno, "Failed to enter cgroup \"%s\"", h->monitor_full_path); return log_error_errno(false, errno, "Failed to enter cgroup \"%s\"", h->monitor_full_path);
TRACE("Moved monitor into %s cgroup via %d", h->monitor_full_path, h->cgfd_mon);
if (handler->transient_pid <= 0) if (handler->transient_pid <= 0)
continue; continue;
...@@ -1490,6 +1492,8 @@ __cgfsng_ops static bool cgfsng_monitor_enter(struct cgroup_ops *ops, ...@@ -1490,6 +1492,8 @@ __cgfsng_ops static bool cgfsng_monitor_enter(struct cgroup_ops *ops,
if (ret) if (ret)
return log_error_errno(false, errno, "Failed to enter cgroup \"%s\"", h->monitor_full_path); return log_error_errno(false, errno, "Failed to enter cgroup \"%s\"", h->monitor_full_path);
TRACE("Moved transient process into %s cgroup via %d", h->monitor_full_path, h->cgfd_mon);
/* /*
* we don't keep the fds for non-unified hierarchies around * we don't keep the fds for non-unified hierarchies around
* mainly because we don't make use of them anymore after the * mainly because we don't make use of them anymore after the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment