Skip to main content

bpf_enable_statistics

Function bpf_enable_statistics 

Source
pub fn bpf_enable_statistics(kind: BpfStatsType) -> Result<OwnedFd, Errno>
Expand description

BPF_ENABLE_STATS — active un type de statistiques (RAII : actif tant que le FD retourné est ouvert).

§Errors

  • [Errno::EPERM] : privilège manquant.