Skip to main content

walk_shm_segments

Function walk_shm_segments 

Source
pub fn walk_shm_segments<P: PhysicalMemoryProvider>(
    reader: &ObjectReader<P>,
) -> Result<Vec<IpcShmInfo>>
Expand description

Walk System V shared memory segments via the kernel shm_ids structure.

Returns Ok(Vec::new()) if the shm_ids symbol is not found (profile may not include it).