Expand description
Query the host about BPF
For example, to list the name of every bpf program running on the system:
use libbpf_rs::query::ProgInfoIter;
let mut iter = ProgInfoIter::default();
for prog in iter {
println!("{}", prog.name);
}Structs
- Information about BPF type format
- Iterator that returns
BtfInfos. - Information about a BPF link
- Iterator that returns
LinkInfos. - Information about a BPF map
- Iterator that returns
MapInfos. - Iterator that returns
ProgramInfos. - Information about a BPF program