Skip to main content

create_process_lookup

Function create_process_lookup 

Source
pub fn create_process_lookup(_use_pktap: bool) -> Result<Box<dyn ProcessLookup>>
Expand description

Create a Linux process lookup implementation. Tries enhanced eBPF lookup first (if the feature is enabled), falls back to procfs. The _use_pktap parameter is ignored on Linux (macOS only).