]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: Support BPF_MAP_TYPE_SK_STORAGE in bpf map probing
authorMartin KaFai Lau <kafai@fb.com>
Fri, 26 Apr 2019 23:39:44 +0000 (16:39 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Sat, 27 Apr 2019 16:07:05 +0000 (09:07 -0700)
commit5c6569060597b2d706ffd97e82b4d527ec2664cc
treee4c776cef6196ebc9599dc4939529453ff028bba
parent5850a9b63cc9e4cca2ad78cf181a14d549a31ddc
bpf: Support BPF_MAP_TYPE_SK_STORAGE in bpf map probing

This patch supports probing for the new BPF_MAP_TYPE_SK_STORAGE.
BPF_MAP_TYPE_SK_STORAGE enforces BTF usage, so the new probe
requires to create and load a BTF also.

Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/bpf/bpftool/map.c
tools/lib/bpf/libbpf_probes.c