> diff --git a/tools/lib/bpf/libbpf.map b/tools/lib/bpf/libbpf.map
> index d18fbcea7578..2bf514462045 100644
> --- a/tools/lib/bpf/libbpf.map
> +++ b/tools/lib/bpf/libbpf.map
> @@ -453,5 +453,5 @@ LIBBPF_1.7.0 {
> bpf_map__exclusive_program;
> bpf_prog_assoc_struct_ops;
> bpf_program__assoc_struct_ops;
> - btf__permute;
> + bpf_map__attach_struct_ops_opts;
> } LIBBPF_1.6.0;
Was the removal of btf__permute from the symbol map intentional? The function
is still implemented in btf.c and declared with LIBBPF_API in btf.h.
It looks like the line was replaced instead of having a new line added. This
would break applications using btf__permute() with link-time or runtime errors.
Perhaps this should be:
bpf_program__assoc_struct_ops;
bpf_map__attach_struct_ops_opts;
btf__permute;
---
AI reviewed your patch. Please fix the bug or email reply why it's not a bug.
See: https://github.com/kernel-patches/vmtest/blob/master/ci/claude/README.md
CI run summary: https://github.com/kernel-patches/bpf/actions/runs/21280790825