Home
last modified time | relevance | path

Searched refs:proc_dir (Results 1 – 6 of 6) sorted by relevance

/external/perfetto/src/profiling/common/
Dproc_utils.h41 base::ScopedDir proc_dir(opendir("/proc")); in ForEachPid()
42 if (!proc_dir) { in ForEachPid()
47 while ((entry = readdir(*proc_dir))) { in ForEachPid()
/external/perfetto/src/traced/probes/ps/
Dprocess_stats_data_source.cc150 base::ScopedDir proc_dir = OpenProcDir(); in WriteAllProcesses() local
151 if (!proc_dir) in WriteAllProcesses()
153 while (int32_t pid = ReadNextNumericDir(*proc_dir)) { in WriteAllProcesses()
274 base::ScopedDir proc_dir(opendir("/proc")); in OpenProcDir() local
275 if (!proc_dir) in OpenProcDir()
277 return proc_dir; in OpenProcDir()
396 base::ScopedDir proc_dir = OpenProcDir(); in WriteAllProcessStats() local
397 if (!proc_dir) in WriteAllProcessStats()
400 while (int32_t pid = ReadNextNumericDir(*proc_dir)) { in WriteAllProcessStats()
/external/google-breakpad/src/common/linux/tests/
Dcrash_generator.cc200 string proc_dir = GetDirectoryOfProcFilesCopy(); in CreateChildCrash() local
201 if (mkdir(proc_dir.c_str(), 0755) == -1) { in CreateChildCrash()
205 if (!CopyProcFiles(getpid(), proc_dir.c_str())) { in CreateChildCrash()
/external/toybox/toys/pending/
Dbootchartd.c56 DIR *proc_dir = opendir("/proc"); in dump_proc_data() local
59 while ((pid_dir = readdir(proc_dir))) { in dump_proc_data()
88 closedir(proc_dir); in dump_proc_data()
/external/curl/packages/vms/
Dbuild_vms.com170 $ proc_dir = f$parse(proc, , , "DIRECTORY")
173 $ proc_dev_dir = proc_dev + proc_dir
181 $ test_proc = orig_def_dev + proc_dir + proc_name + proc_type
191 $ proc_dev_dir = orig_def_dev + proc_dir
/external/llvm-project/openmp/runtime/src/
Dz_Linux_util.cpp2226 DIR *proc_dir = NULL; // Handle of "/proc/" directory. in __kmp_get_load_balance() local
2267 proc_dir = opendir("/proc"); in __kmp_get_load_balance()
2268 if (proc_dir == NULL) { in __kmp_get_load_balance()
2280 proc_entry = readdir(proc_dir); in __kmp_get_load_balance()
2400 proc_entry = readdir(proc_dir); in __kmp_get_load_balance()
2412 if (proc_dir != NULL) { in __kmp_get_load_balance()
2413 closedir(proc_dir); in __kmp_get_load_balance()