diff options
author | Alexei Starovoitov <ast@kernel.org> | 2020-07-02 04:10:18 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-07-26 06:16:32 +0300 |
commit | a228a64fc1e4428e2b96dc68e9ad3c447095c9e7 (patch) | |
tree | 60f1dbabaaabc43cd02535c1ff0bbe6aeba481a5 /net/netlink | |
parent | 3f9969f2c040ba2ba635b6b5a7051f404bcc634d (diff) | |
download | linux-a228a64fc1e4428e2b96dc68e9ad3c447095c9e7.tar.xz |
bpf: Add bpf_prog iterator
It's mostly a copy paste of commit 6086d29def80 ("bpf: Add bpf_map iterator")
that is use to implement bpf_seq_file opreations to traverse all bpf programs.
v1->v2: Tweak to use build time btf_id
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Yonghong Song <yhs@fb.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'net/netlink')
0 files changed, 0 insertions, 0 deletions