[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <u42jmbratxsej74zrtzn47j7evmdksswyrp6kfvr5tze36qcwt@mbl5e7fkekrz>
Date: Sat, 8 Jun 2024 15:23:07 -0600
From: Daniel Xu <dxu@...uu.xyz>
To: linux-kselftest@...r.kernel.org, netdev@...r.kernel.org,
bpf@...r.kernel.org, linux-kbuild@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-trace-kernel@...r.kernel.org, fsverity@...ts.linux.dev, andrii@...nel.org, olsajiri@...il.com,
quentin@...valent.com, alan.maguire@...cle.com, acme@...nel.org, eddyz87@...il.com
Cc: kernel-team@...a.com
Subject: Re: [PATCH bpf-next v4 00/12] bpf: Support dumping kfunc prototypes
from BTF
On Sat, Jun 08, 2024 at 03:15:56PM GMT, Daniel Xu wrote:
> This patchset enables both detecting as well as dumping compilable
> prototypes for kfuncs.
>
> The first commit instructs pahole to DECL_TAG kfuncs when available.
> This requires v1.27 or newer. v1.27 is nearing release at time of
> writing. Following this, users will be able to look at BTF inside
> vmlinux (or modules) and check if the kfunc they want is available.
>
> The final commit teaches bpftool how to dump kfunc prototypes. This
> is done for developer convenience.
>
> The rest of the commits are fixups to enable selftests to use the
> newly dumped kfunc prototypes. With these, selftests will regularly
> exercise the newly added codepaths.
I tested that this patchset works for both pahole:
<1.27: https://github.com/kernel-patches/bpf/pull/7168
>=1.27: https://github.com/kernel-patches/bpf/pull/7163
I meant to include that in the cover letter but I forgot. I'll try to
remember next time.
Powered by blists - more mailing lists