[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <cover.1704324602.git.dxu@dxuuu.xyz>
Date: Wed, 3 Jan 2024 16:31:54 -0700
From: Daniel Xu <dxu@...uu.xyz>
To: coreteam@...filter.org,
netdev@...r.kernel.org,
cgroups@...r.kernel.org,
linux-input@...r.kernel.org,
linux-trace-kernel@...r.kernel.org,
linux-stm32@...md-mailman.stormreply.com,
linux-kselftest@...r.kernel.org,
fsverity@...ts.linux.dev,
netfilter-devel@...r.kernel.org,
linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
bpf@...r.kernel.org,
alexei.starovoitov@...il.com,
olsajiri@...il.com,
quentin@...valent.com,
alan.maguire@...cle.com,
memxor@...il.com
Subject: [PATCH bpf-next 0/2] Annotate kfuncs in .BTF_ids section
This is a bpf-treewide change that annotates all kfuncs as such inside
.BTF_ids. This annotation eventually allows us to automatically generate
kfunc prototypes from bpftool.
We store this metadata inside a yet-unused flags field inside struct
btf_id_set8 (thanks Kumar!). pahole will be taught where to look.
More details about the full chain of events are available in commit 2's
description.
Daniel Xu (2):
bpf: btf: Support optional flags for BTF_SET8 sets
bpf: treewide: Annotate BPF kfuncs in BTF
drivers/hid/bpf/hid_bpf_dispatch.c | 4 ++--
fs/verity/measure.c | 2 +-
include/linux/btf_ids.h | 17 ++++++++++++-----
kernel/bpf/btf.c | 3 +++
kernel/bpf/cpumask.c | 2 +-
kernel/bpf/helpers.c | 4 ++--
kernel/bpf/map_iter.c | 2 +-
kernel/cgroup/rstat.c | 2 +-
kernel/trace/bpf_trace.c | 4 ++--
net/bpf/test_run.c | 4 ++--
net/core/filter.c | 8 ++++----
net/core/xdp.c | 2 +-
net/ipv4/bpf_tcp_ca.c | 2 +-
net/ipv4/fou_bpf.c | 2 +-
net/ipv4/tcp_bbr.c | 2 +-
net/ipv4/tcp_cubic.c | 2 +-
net/ipv4/tcp_dctcp.c | 2 +-
net/netfilter/nf_conntrack_bpf.c | 2 +-
net/netfilter/nf_nat_bpf.c | 2 +-
net/xfrm/xfrm_interface_bpf.c | 2 +-
net/xfrm/xfrm_state_bpf.c | 2 +-
.../selftests/bpf/bpf_testmod/bpf_testmod.c | 2 +-
22 files changed, 42 insertions(+), 32 deletions(-)
--
2.42.1
Powered by blists - more mailing lists