Skip to main content

open_position_for_path

Function open_position_for_path 

Source
pub fn open_position_for_path(
    contents: &str,
    syscall: u64,
    path: &str,
) -> Option<usize>
Expand description

Fallback placement by path and syscall number, for backends whose per-thread syscall numbering restarts across process images (DBT), so (dtid, syscall) names more than one finished open in the log. The open that found a new identity is the last finished open of path with that syscall number; without a match nothing is placed.