Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
lxc
Commits
ebf88e5b
Unverified
Commit
ebf88e5b
authored
Feb 10, 2021
by
Christian Brauner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cgroups: log monitor and transient process entering
Signed-off-by:
Christian Brauner
<
christian.brauner@ubuntu.com
>
parent
d1ee8719
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
cgfsng.c
src/lxc/cgroups/cgfsng.c
+4
-0
No files found.
src/lxc/cgroups/cgfsng.c
View file @
ebf88e5b
...
...
@@ -1483,6 +1483,8 @@ __cgfsng_ops static bool cgfsng_monitor_enter(struct cgroup_ops *ops,
if
(
ret
)
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
)
continue
;
...
...
@@ -1490,6 +1492,8 @@ __cgfsng_ops static bool cgfsng_monitor_enter(struct cgroup_ops *ops,
if
(
ret
)
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
* mainly because we don't make use of them anymore after the
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment