Home
last modified time | relevance | path

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

/system/libprocinfo/include/procinfo/
Dprocess.h106 char task_path[PATH_MAX]; variable
107 if (snprintf(task_path, PATH_MAX, "/proc/%d", pid) >= PATH_MAX) {
114 android::base::unique_fd fd(open(task_path, O_DIRECTORY | O_RDONLY | O_CLOEXEC));
117 *error = std::string("failed to open ") + task_path;
/system/core/debuggerd/
Dcrash_dump.cpp75 std::string task_path = StringPrintf("task/%d", tid); in pid_contains_tid() local
76 return fstatat(pid_proc_fd, task_path.c_str(), &st, 0) == 0; in pid_contains_tid()
/system/unwinding/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()