Function bcc_sys::bccapi::bpf_attach_perf_event[][src]

pub unsafe extern "C" fn bpf_attach_perf_event(
    progfd: c_int,
    ev_type: u32,
    ev_config: u32,
    sample_period: u64,
    sample_freq: u64,
    pid: pid_t,
    cpu: c_int,
    group_fd: c_int
) -> c_int