Skip to main content

bpf_probe_read

Function bpf_probe_read 

Source
pub fn bpf_probe_read(dst: &mut [u8], src: &[u8]) -> BpfResult<()>
Expand description

For tracing programs, safely attempt to read size bytes from kernel space address unsafe_ptr and store the data in dst.