Lines Matching refs:procfs
257 * procfs_is_workload_pid - check if a procfs entry contains a comm_prefix* comm
259 * Check if the procfs entry is a directory of a process, and then check if the
314 * This function uses procfs to list the currently running threads and then set the
322 DIR *procfs;
331 procfs = opendir("/proc");
332 if (!procfs) {
333 err_msg("Could not open procfs\n");
337 while ((proc_entry = readdir(procfs))) {
355 closedir(procfs);
696 DIR *procfs;
732 procfs = opendir("/proc");
733 if (!procfs) {
734 err_msg("Could not open procfs\n");
738 while ((proc_entry = readdir(procfs))) {
754 closedir(procfs);
759 closedir(procfs);