Skip to main content

tree

Function tree 

Source
pub fn tree(pid: u32) -> Result<Vec<ProcMem>>
Expand description

Walk pid and every descendant (via /proc/*/stat ppid), reading smaps_rollup and status for each. Root first, then children in discovery order. Processes that vanish mid-walk are skipped.