On Mon, 2024-09-16 at 02:19 -0700, Eduard Zingerman wrote: > For kfuncs marked with KF_FASTCALL flag generate the following pair of > decl tags: > > $ bpftool btf dump file vmlinux > ... > [A] FUNC 'bpf_rdonly_cast' type_id=... > ... > [B] DECL_TAG 'bpf_kfunc' type_id=A component_idx=-1 > [C] DECL_TAG 'bpf_fastcall' type_id=A component_idx=-1 Note, corresponding kernel changes are submitted here: https://lore.kernel.org/bpf/20240916091712.2929279-1-eddyz87@xxxxxxxxx/ [...]