Re: [PATCH bpf-next v8 0/5] Add prog_kfunc feature probe

From: Eduard Zingerman
Date: Mon Feb 24 2025 - 20:29:08 EST


On Tue, 2025-02-25 at 01:13 +0800, Tao Chen wrote:

[...]

> Hi Eduard,
> I used a simple script to find all kfunc prog types and comapre it with
> your program, most of them are consistent, the results are as follows,
> and i add pathch 4 additionally to fix kfunc probe like
> bpf_session_is_return.

Hi Tao,

Thank you for putting together the python script. I double checked
output of the script and the output of the test and find these
consistent.

(I noticed that a few kfuncs are in the vmlinux.h but are not printed
by the test:
- bpf_skb_get_xfrm_info
- bpf_skb_set_xfrm_info
- bpf_xdp_get_xfrm_state
- bpf_xdp_xfrm_state_release
- bpf_dynptr_from_skb
- bpf_dynptr_from_xdp
- bpf_sock_addr_set_sun_path
but that is another topic).

Thanks,
Eduard

[...]