Re: [PATCH bpf-next 3/5] libbpf: Support guessing sendmsg{4,6} progs

2018-05-22 Thread Martin KaFai Lau
On Fri, May 18, 2018 at 07:21:11PM -0700, Andrey Ignatov wrote: > libbpf can guess prog type and expected attach type based on section > name. Add hints for "cgroup/sendmsg4" and "cgroup/sendmsg6" section > names. > > Signed-off-by: Andrey Ignatov > Acked-by: Alexei Starovoitov

[PATCH bpf-next 3/5] libbpf: Support guessing sendmsg{4,6} progs

2018-05-18 Thread Andrey Ignatov
libbpf can guess prog type and expected attach type based on section name. Add hints for "cgroup/sendmsg4" and "cgroup/sendmsg6" section names. Signed-off-by: Andrey Ignatov Acked-by: Alexei Starovoitov --- tools/lib/bpf/libbpf.c | 2 ++ 1 file changed, 2