Remove bpf_ prefix, which causes these helpers to be reported in verifier dump as bpf_bpf_this_cpu_ptr() and bpf_bpf_per_cpu_ptr(), respectively. Lets fix it as long as it is still possible before UAPI freezes on these helpers.
Showing the changes to tools/include/uapi/linux (1 of 4 files). Show all
Unified · Split
| @@ -3897,8 +3897,8 @@ union bpf_attr { · 3896 unmodified lines | ||
| 3897 | 3897 | FN(seq_printf_btf), \ |
| 3898 | 3898 | FN(skb_cgroup_classid), \ |
| 3899 | 3899 | FN(redirect_neigh), \ |
| 3900 | − FN(bpf_per_cpu_ptr), \ | |
| 3901 | − FN(bpf_this_cpu_ptr), \ | |
| 3900 | + FN(per_cpu_ptr), \ | |
| 3901 | + FN(this_cpu_ptr), \ | |
| 3902 | 3902 | FN(redirect_peer), \ |
| 3903 | 3903 | /* */ |
| 3904 | 3904 | |