Skip to main content

bpf_raw_tracepoint_open

Function bpf_raw_tracepoint_open 

Source
pub fn bpf_raw_tracepoint_open(
    name: &CStr,
    program: BorrowedFd<'_>,
) -> Result<BpfLink, Errno>
Expand description

BPF_RAW_TRACEPOINT_OPEN — attache un programme à un tracepoint brut.

§Errors

  • [Errno::ENOENT] : tracepoint inconnu.
  • [Errno::EPERM] : privilège manquant.