From 730bb606b1f2fc868387f01535c27c6a416cebc5 Mon Sep 17 00:00:00 2001 From: Patrick Bellasi Date: Wed, 31 Aug 2016 11:40:10 +0100 Subject: [PATCH] cgroup: fix documentation of freeze function Signed-off-by: Patrick Bellasi --- devlib/module/cgroups.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/devlib/module/cgroups.py b/devlib/module/cgroups.py index f6c7c95..f605751 100644 --- a/devlib/module/cgroups.py +++ b/devlib/module/cgroups.py @@ -425,7 +425,7 @@ class CgroupsModule(Module): 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 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. :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