Lines Matching refs:bpf
29 A bpf iterator combines a kernel iterating of
31 and a bpf program called for each kernel data object
35 The *pin* command creates a bpf iterator from *OBJ*,
41 Map element bpf iterator requires an additional parameter
42 *MAP* so bpf program can iterate over map elements for
43 that map. User can have a bpf program in kernel to run
47 User can then *cat PATH* to see the bpf iterator output.
58 **# bpftool iter pin bpf_iter_netlink.o /sys/fs/bpf/my_netlink**
62 Create a file-based bpf iterator from bpf_iter_netlink.o and pin it
63 to /sys/fs/bpf/my_netlink
65 **# bpftool iter pin bpf_iter_hashmap.o /sys/fs/bpf/my_hashmap map id 20**
69 Create a file-based bpf iterator from bpf_iter_hashmap.o and map with
70 id 20, and pin it to /sys/fs/bpf/my_hashmap