Searched refs:task_path (Results 1 – 3 of 3) sorted by relevance
/system/core/libprocinfo/include/procinfo/ |
D | process.h | 102 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/ |
D | crash_dump.cpp | 74 std::string task_path = StringPrintf("task/%d", tid); in pid_contains_tid() local 75 return fstatat(pid_proc_fd, task_path.c_str(), &st, 0) == 0; in pid_contains_tid()
|
/system/core/libbacktrace/ |
D | backtrace_test.cpp | 490 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()
|