Re: [PATCH bpf-next v4 0/3] Annotate kfuncs in .BTF_ids section

2024-02-05 Thread Viktor Malik
On 2/3/24 19:45, Manu Bretelle wrote: > On Sat, Feb 03, 2024 at 03:40:24PM +0100, Jiri Olsa wrote: >> On Fri, Feb 02, 2024 at 03:09:05PM -0800, Manu Bretelle wrote: >>> On Sun, Jan 28, 2024 at 06:24:05PM -0700, Daniel Xu wrote: === Description === This is a bpf-treewide change that

Re: [PATCH bpf-next v4 0/3] Annotate kfuncs in .BTF_ids section

2024-02-03 Thread Manu Bretelle
On Sat, Feb 03, 2024 at 03:40:24PM +0100, Jiri Olsa wrote: > On Fri, Feb 02, 2024 at 03:09:05PM -0800, Manu Bretelle wrote: > > On Sun, Jan 28, 2024 at 06:24:05PM -0700, Daniel Xu wrote: > > > === Description === > > > > > > This is a bpf-treewide change that annotates all kfuncs as such inside >

Re: [PATCH bpf-next v4 0/3] Annotate kfuncs in .BTF_ids section

2024-02-03 Thread Jiri Olsa
On Fri, Feb 02, 2024 at 03:09:05PM -0800, Manu Bretelle wrote: > On Sun, Jan 28, 2024 at 06:24:05PM -0700, Daniel Xu wrote: > > === Description === > > > > This is a bpf-treewide change that annotates all kfuncs as such inside > > .BTF_ids. This annotation eventually allows us to automatically

Re: [PATCH bpf-next v4 0/3] Annotate kfuncs in .BTF_ids section

2024-02-02 Thread Daniel Xu
Hi Manu, On Fri, Feb 02, 2024 at 03:09:05PM -0800, Manu Bretelle wrote: > On Sun, Jan 28, 2024 at 06:24:05PM -0700, Daniel Xu wrote: > > === Description === > > > > This is a bpf-treewide change that annotates all kfuncs as such inside > > .BTF_ids. This annotation eventually allows us to

Re: [PATCH bpf-next v4 0/3] Annotate kfuncs in .BTF_ids section

2024-02-02 Thread Manu Bretelle
On Sun, Jan 28, 2024 at 06:24:05PM -0700, Daniel Xu wrote: > === Description === > > 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

Re: [PATCH bpf-next v4 0/3] Annotate kfuncs in .BTF_ids section

2024-01-31 Thread patchwork-bot+netdevbpf
Hello: This series was applied to bpf/bpf-next.git (master) by Alexei Starovoitov : On Sun, 28 Jan 2024 18:24:05 -0700 you wrote: > === Description === > > This is a bpf-treewide change that annotates all kfuncs as such inside > .BTF_ids. This annotation eventually allows us to automatically

Re: [PATCH bpf-next v4 0/3] Annotate kfuncs in .BTF_ids section

2024-01-31 Thread Jiri Olsa
On Sun, Jan 28, 2024 at 06:24:05PM -0700, Daniel Xu wrote: > === Description === > > 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

[PATCH bpf-next v4 0/3] Annotate kfuncs in .BTF_ids section

2024-01-28 Thread Daniel Xu
=== Description === 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!).