Re: [PATCHv3 bpf-next 0/9] bpf: Move kernel test kfuncs into bpf_testmod

Alexei Starovoitov
2023-02-04T09:21:29Z

On Fri, Feb 3, 2023 at 8:23 AM Jiri Olsa <jolsa@kernel.org> wrote:
>
> hi,
> I noticed several times in discussions that we should move test kfuncs
> into kernel module, now perhaps even more pressing with all the kfunc
> effort. This patchset moves all the test kfuncs into bpf_testmod.
>
> I added bpf_testmod/bpf_testmod_kfunc.h header that is shared between
> bpf_testmod kernel module and BPF programs, which brings some difficulties
> with __ksym define. But I'm not sure having separate headers for BPF
> programs and for kernel module would be better.
>
> This patchset also needs:
> 74bc3a5acc82 bpf: Add missing btf_put to register_btf_id_dtor_kfuncs
> which is only in bpf/master now.

I thought you've added this patch to CI,
but cb_refs is still failing on s390...