Re: [RFC bpf-next 1/3] bpf: add module support to btf display helpers

2020-11-17 Thread Andrii Nakryiko
On Sun, Nov 15, 2020 at 2:53 AM Alan Maguire wrote: > > On Sat, 14 Nov 2020, Yonghong Song wrote: > > > > > > > On 11/14/20 8:04 AM, Alexei Starovoitov wrote: > > > On Fri, Nov 13, 2020 at 10:59 PM Andrii Nakryiko > > > wrote: > > >> > > >> On Fri, Nov 13, 2020 at 10:11 AM Alan Maguire > > >> wr

Re: [RFC bpf-next 1/3] bpf: add module support to btf display helpers

2020-11-15 Thread Alan Maguire
On Sat, 14 Nov 2020, Yonghong Song wrote: > > > On 11/14/20 8:04 AM, Alexei Starovoitov wrote: > > On Fri, Nov 13, 2020 at 10:59 PM Andrii Nakryiko > > wrote: > >> > >> On Fri, Nov 13, 2020 at 10:11 AM Alan Maguire > >> wrote: > >>> > >>> bpf_snprintf_btf and bpf_seq_printf_btf use a "struct b

Re: [RFC bpf-next 1/3] bpf: add module support to btf display helpers

2020-11-14 Thread Yonghong Song
On 11/14/20 8:04 AM, Alexei Starovoitov wrote: On Fri, Nov 13, 2020 at 10:59 PM Andrii Nakryiko wrote: On Fri, Nov 13, 2020 at 10:11 AM Alan Maguire wrote: bpf_snprintf_btf and bpf_seq_printf_btf use a "struct btf_ptr *" argument that specifies type information about the type to be displ

Re: [RFC bpf-next 1/3] bpf: add module support to btf display helpers

2020-11-14 Thread Alexei Starovoitov
On Fri, Nov 13, 2020 at 10:59 PM Andrii Nakryiko wrote: > > On Fri, Nov 13, 2020 at 10:11 AM Alan Maguire wrote: > > > > bpf_snprintf_btf and bpf_seq_printf_btf use a "struct btf_ptr *" > > argument that specifies type information about the type to > > be displayed. Augment this information to i

Re: [RFC bpf-next 1/3] bpf: add module support to btf display helpers

2020-11-13 Thread Andrii Nakryiko
On Fri, Nov 13, 2020 at 10:11 AM Alan Maguire wrote: > > bpf_snprintf_btf and bpf_seq_printf_btf use a "struct btf_ptr *" > argument that specifies type information about the type to > be displayed. Augment this information to include a module > name, allowing such display to support module types

[RFC bpf-next 1/3] bpf: add module support to btf display helpers

2020-11-13 Thread Alan Maguire
bpf_snprintf_btf and bpf_seq_printf_btf use a "struct btf_ptr *" argument that specifies type information about the type to be displayed. Augment this information to include a module name, allowing such display to support module types. Signed-off-by: Alan Maguire --- include/linux/btf.h