Function check_procs::filter_procs [−][src]
pub(crate) fn filter_procs<'m>(
re: &Option<Regex>,
states: &[State],
procs: &'m ProcMap
) -> Vec<(&'m Pid, &'m Process)>
Filter to processes that match the condition
The condition is:
- Does not match me or my parent process
- Does match the regex, if it is present
- Does match any of the states