Lines Matching defs:procfs
274 * procfs_is_workload_pid - check if a procfs entry contains a comm_prefix* comm
276 * Check if the procfs entry is a directory of a process, and then check if the
332 * This function uses procfs to list the currently running threads and then set the
340 DIR *procfs;
350 procfs = opendir("/proc");
351 if (!procfs) {
352 err_msg("Could not open procfs\n");
356 while ((proc_entry = readdir(procfs))) {
378 closedir(procfs);
889 DIR *procfs;
903 procfs = opendir("/proc");
904 if (!procfs) {
905 err_msg("Could not open procfs\n");
909 while ((proc_entry = readdir(procfs))) {
925 closedir(procfs);
930 closedir(procfs);