Re: [RFC bpf-next 3/3] selftests/bpf: verify module-specific types can be shown via bpf_snprintf_btf

2020-11-13 Thread Andrii Nakryiko
On Fri, Nov 13, 2020 at 10:11 AM Alan Maguire wrote: > > Verify that specifying a module name in "struct btf_ptr *" along > with a type id of a module-specific type will succeed. > > veth_stats_rx() is chosen because its function signature consists > of a module-specific type "struct veth_stats" a

[RFC bpf-next 3/3] selftests/bpf: verify module-specific types can be shown via bpf_snprintf_btf

2020-11-13 Thread Alan Maguire
Verify that specifying a module name in "struct btf_ptr *" along with a type id of a module-specific type will succeed. veth_stats_rx() is chosen because its function signature consists of a module-specific type "struct veth_stats" and a kernel-specific one "struct net_device". Signed-off-by: Ala