Home
last modified time | relevance | path

Searched refs:task_path (Results 1 – 3 of 3) sorted by relevance

/system/core/libprocinfo/include/procinfo/
Dprocess.h102 char task_path[PATH_MAX]; variable
103 if (snprintf(task_path, PATH_MAX, "/proc/%d", pid) >= PATH_MAX) {
110 android::base::unique_fd fd(open(task_path, O_DIRECTORY | O_RDONLY | O_CLOEXEC));
113 *error = std::string("failed to open ") + task_path;
/system/core/debuggerd/
Dcrash_dump.cpp73 std::string task_path = StringPrintf("task/%d", tid); in pid_contains_tid() local
74 return fstatat(pid_proc_fd, task_path.c_str(), &st, 0) == 0; in pid_contains_tid()
/system/core/libbacktrace/
Dbacktrace_test.cpp490 char task_path[128]; in GetThreads() local
491 snprintf(task_path, sizeof(task_path), "/proc/%d/task", pid); in GetThreads()
493 std::unique_ptr<DIR, decltype(&closedir)> tasks_dir(opendir(task_path), closedir); in GetThreads()