diff options
author | Alexei Starovoitov <[email protected]> | 2020-07-01 18:10:18 -0700 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2020-07-25 20:16:32 -0700 |
commit | a228a64fc1e4428e2b96dc68e9ad3c447095c9e7 (patch) | |
tree | 60f1dbabaaabc43cd02535c1ff0bbe6aeba481a5 /kernel/bpf/stackmap.c | |
parent | 3f9969f2c040ba2ba635b6b5a7051f404bcc634d (diff) |
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 <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Acked-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'kernel/bpf/stackmap.c')
0 files changed, 0 insertions, 0 deletions