diff --git a/libprocessgroup/profiles/cgroups.json b/libprocessgroup/profiles/cgroups.json index 7bcb94bd9..962d2baa8 100644 --- a/libprocessgroup/profiles/cgroups.json +++ b/libprocessgroup/profiles/cgroups.json @@ -37,7 +37,7 @@ "Controllers": [ { "Controller": "freezer", - "Path": "freezer", + "Path": ".", "Mode": "0755", "UID": "system", "GID": "system" diff --git a/libprocessgroup/profiles/task_profiles.json b/libprocessgroup/profiles/task_profiles.json index 5b57bdd12..628098b55 100644 --- a/libprocessgroup/profiles/task_profiles.json +++ b/libprocessgroup/profiles/task_profiles.json @@ -46,7 +46,7 @@ "File": "cpu.uclamp.latency_sensitive" }, { - "Name": "FreezerState", + "Name": "Freezer", "Controller": "freezer", "File": "cgroup.freeze" } @@ -70,11 +70,11 @@ "Name": "Frozen", "Actions": [ { - "Name": "JoinCgroup", + "Name": "SetAttribute", "Params": { - "Controller": "freezer", - "Path": "" + "Name": "Freezer", + "Value": "1" } } ] @@ -83,11 +83,11 @@ "Name": "Unfrozen", "Actions": [ { - "Name": "JoinCgroup", + "Name": "SetAttribute", "Params": { - "Controller": "freezer", - "Path": "../" + "Name": "Freezer", + "Value": "0" } } ]