Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/checkpoint-restore/criu.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'criu/proc_parse.c')
-rw-r--r--criu/proc_parse.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/criu/proc_parse.c b/criu/proc_parse.c
index 946b0fc40..abac5908b 100644
--- a/criu/proc_parse.c
+++ b/criu/proc_parse.c
@@ -2549,7 +2549,8 @@ err:
return -1;
}
-int parse_task_cgroup(int pid, struct parasite_dump_cgroup_args *args, struct list_head *retl, unsigned int *n)
+int parse_thread_cgroup(int pid, int tid, struct parasite_dump_cgroup_args *args, struct list_head *retl,
+ unsigned int *n)
{
FILE *f;
int ret;
@@ -2557,7 +2558,7 @@ int parse_task_cgroup(int pid, struct parasite_dump_cgroup_args *args, struct li
unsigned int n_internal = 0;
struct cg_ctl *intern, *ext;
- f = fopen_proc(pid, "cgroup");
+ f = fopen_proc(pid, "task/%d/cgroup", tid);
if (!f)
return -1;