Searched refs:task_path (Results 1 – 6 of 6) sorted by relevance
24 task_path = os.path.join(cgroup_dir, 'tasks')25 task_file = open(task_path)27 raise error.TestError('failed to open %s' % task_path)
346 char task_path[NAME_MAX]; in EnumerateThreads() local347 if (!BuildProcPath(task_path, pid_, "task")) in EnumerateThreads()350 const int fd = sys_open(task_path, O_RDONLY | O_DIRECTORY, 0); in EnumerateThreads()
156 base::StackString<128> task_path("/proc/%d/task", pid); in WriteAllProcesses() local157 base::ScopedDir task_dir(opendir(task_path.c_str())); in WriteAllProcesses()350 base::StackString<128> task_path("/proc/%d/task", pid); in OpenProcTaskDir() local351 return base::ScopedDir(opendir(task_path.c_str())); in OpenProcTaskDir()
167 task_path = '/task:%s' % task_id168 if job_path not in device.name or task_path not in device.name:
1060 static const char task_path[] = "/proc/%d/task"; in attach_tcb() local1061 char procdir[sizeof(task_path) + sizeof(int) * 3]; in attach_tcb()1066 xsprintf(procdir, task_path, tcp->pid) > 0 && in attach_tcb()
9619 * strace.c (attach_tcb): Add task_path variable with the output format.