libbpf_sys

Function bpf_program__attach_kprobe

Source
pub unsafe extern "C" fn bpf_program__attach_kprobe(
    prog: *const bpf_program,
    retprobe: bool,
    func_name: *const c_char,
) -> *mut bpf_link