mirror of
https://github.com/ARM-software/devlib.git
synced 2025-01-31 10:10:46 +00:00
cgroup: fix documentation of freeze function
Signed-off-by: Patrick Bellasi <patrick.bellasi@arm.com>
This commit is contained in:
parent
c8f118da4f
commit
730bb606b1
@ -425,7 +425,7 @@ class CgroupsModule(Module):
|
|||||||
|
|
||||||
def freeze(self, exclude=[], thaw=False):
|
def freeze(self, exclude=[], thaw=False):
|
||||||
"""
|
"""
|
||||||
Freeze all tasks while keeping a live console
|
Freeze all user-space tasks but the specified ones
|
||||||
|
|
||||||
A freezer cgroup is used to stop all the tasks in the target system but
|
A freezer cgroup is used to stop all the tasks in the target system but
|
||||||
the ones which name match one of the path specified by the exclude
|
the ones which name match one of the path specified by the exclude
|
||||||
@ -435,7 +435,10 @@ class CgroupsModule(Module):
|
|||||||
the PID of these tasks.
|
the PID of these tasks.
|
||||||
|
|
||||||
:param exclude: list of commands paths to exclude from freezer
|
:param exclude: list of commands paths to exclude from freezer
|
||||||
:type exlude: list(str)
|
:type exclude: list(str)
|
||||||
|
|
||||||
|
:param thaw: if true thaw tasks instead
|
||||||
|
:type thaw: bool
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# Create Freezer CGroup
|
# Create Freezer CGroup
|
||||||
|
Loading…
x
Reference in New Issue
Block a user