]> git.baikalelectronics.ru Git - kernel.git/commit
samples/bpf: Stop using bpf_object__find_program_by_title API.
authorKui-Feng Lee <kuifeng@fb.com>
Tue, 14 Dec 2021 03:59:29 +0000 (19:59 -0800)
committerAndrii Nakryiko <andrii@kernel.org>
Tue, 14 Dec 2021 22:38:05 +0000 (14:38 -0800)
commit8e74527179d02e2d4cdceb3b1a8667b56eba3e0c
treeb3d96586275d75df30671364126147ee9fbc5dfb
parentfc0279c4675a3370e3f68f8380f2211a56b6935c
samples/bpf: Stop using bpf_object__find_program_by_title API.

bpf_object__find_program_by_title is going to be deprecated.
Replace use cases of bpf_object__find_program_by_title in samples/bpf/
with bpf_object__for_each_program.

Signed-off-by: Kui-Feng Lee <kuifeng@fb.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20211214035931.1148209-3-kuifeng@fb.com
samples/bpf/hbm.c
samples/bpf/xdp_fwd_user.c