]> www.infradead.org Git - users/jedix/linux-maple.git/commit
kbuild: bpf: Tell pahole to DECL_TAG kfuncs
authorDaniel Xu <dxu@dxuuu.xyz>
Wed, 12 Jun 2024 15:58:25 +0000 (09:58 -0600)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 12 Jun 2024 18:01:30 +0000 (11:01 -0700)
commitebb79e96f1ea454fbcc8fe27dfe44e751bd74b4b
tree16c92ae5524f281941806d851448e5a9b01a9146
parent98b303c9bf05dae932efbd71e18d81f6c64f20d8
kbuild: bpf: Tell pahole to DECL_TAG kfuncs

With [0], pahole can now discover kfuncs and inject DECL_TAG
into BTF. With this commit, we will start shipping said DECL_TAGs
to downstream consumers if pahole supports it.

This is useful for feature probing kfuncs as well as generating
compilable prototypes. This is particularly important as kfuncs
do not have stable ABI.

[0]: https://git.kernel.org/pub/scm/devel/pahole/pahole.git/commit/?id=72e88f29c6f7e14201756e65bd66157427a61aaf

Signed-off-by: Daniel Xu <dxu@dxuuu.xyz>
Link: https://lore.kernel.org/r/324aac5c627bddb80d9968c30df6382846994cc8.1718207789.git.dxu@dxuuu.xyz
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
scripts/Makefile.btf