libbpf: Support sysctl hook
authorAndrey Ignatov <rdna@fb.com>
Fri, 8 Mar 2019 17:15:26 +0000 (09:15 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 12 Apr 2019 20:54:58 +0000 (13:54 -0700)
commit063cc9f06ee6cac12dbc68a504bc4ff56bde790d
treed34b044fef130e7ba245d8740e968ebcbfe8b560
parent196398d4c0ac3de6f016f7774c952a069e116e71
libbpf: Support sysctl hook

Support BPF_PROG_TYPE_CGROUP_SYSCTL program in libbpf: identifying
program and attach types by section name, probe.

Signed-off-by: Andrey Ignatov <rdna@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/lib/bpf/libbpf.c
tools/lib/bpf/libbpf_probes.c