Skip to content
Commit a228a64f authored by Alexei Starovoitov's avatar Alexei Starovoitov
Browse files

bpf: Add bpf_prog iterator



It's mostly a copy paste of commit 6086d29d ("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: default avatarAlexei Starovoitov <ast@kernel.org>
Acked-by: default avatarYonghong Song <yhs@fb.com>
Acked-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
parent 3f9969f2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment