Function bcc_sys::bccapi::bpf_attach_kprobe [] [src]

pub unsafe extern "C" fn bpf_attach_kprobe(
    progfd: c_int,
    attach_type: bpf_probe_attach_type,
    ev_name: *const c_char,
    fn_name: *const c_char,
    pid: pid_t,
    cpu: c_int,
    group_fd: c_int,
    cb: perf_reader_cb,
    cb_cookie: *mut c_void
) -> *mut c_void