OSDN Git Service

Merge branch 'bpftool-improvements'
authorAlexei Starovoitov <ast@kernel.org>
Wed, 15 Jan 2020 23:23:28 +0000 (15:23 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 15 Jan 2020 23:24:17 +0000 (15:24 -0800)
commit7bcfea9615f60506e6573e35bb7596f776640509
treedc987dca94677c0e814dc195fc76dba0ca1e446f
parent990bca1fc8ad48f7f8b0786b739a9408017b7a74
parent4e1ea33292ff2ea0a82f52b2600abb4aba752094
Merge branch 'bpftool-improvements'

Martin Lau says:

====================
When a map is storing a kernel's struct, its
map_info->btf_vmlinux_value_type_id is set.  The first map type
supporting it is BPF_MAP_TYPE_STRUCT_OPS.

This series adds support to dump this kind of map with BTF.
The first two patches are bug fixes which are only applicable to
bpf-next.

Please see individual patches for details.

v3:
- Remove unnecessary #include "libbpf_internal.h" from patch 5

v2:
- Expose bpf_find_kernel_btf() as a LIBBPF_API in patch 3 (Andrii)
- Cache btf_vmlinux in bpftool/map.c (Andrii)
====================

Signed-off-by: Alexei Starovoitov <ast@kernel.org>