]> Gentwo Git Trees - linux/.git/commit
libbpf: Update the comment to remove the reference to the deprecated interface bpf_pr...
authorJianyun Gao <jianyungao89@gmail.com>
Mon, 3 Nov 2025 12:07:27 +0000 (20:07 +0800)
committerAndrii Nakryiko <andrii@kernel.org>
Tue, 4 Nov 2025 18:22:40 +0000 (10:22 -0800)
commitefa47566ad0b2a6178d5c3ecba6a9c71c82f2588
tree43026f1f5dc4fe73bb3d571acefc5e66e150ebaa
parent74bd7bc0683e25eac1397e39ab0b4c0394d6241a
libbpf: Update the comment to remove the reference to the deprecated interface bpf_program__load().

Commit be2f2d1680df ("libbpf: Deprecate bpf_program__load() API") marked
bpf_program__load() as deprecated starting with libbpf v0.6. And later
in commit 146bf811f5ac ("libbpf: remove most other deprecated high-level
APIs") actually removed the bpf_program__load() implementation and
related old high-level APIs.

This patch update the comment in bpf_program__set_attach_target() to
remove the reference to the deprecated interface bpf_program__load().

Signed-off-by: Jianyun Gao <jianyungao89@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20251103120727.145965-1-jianyungao89@gmail.com
tools/lib/bpf/libbpf.c