OSDN Git Service

Merge branch 'libbpf-btf_ext'
authorAlexei Starovoitov <ast@kernel.org>
Mon, 4 Feb 2019 20:48:36 +0000 (12:48 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Mon, 4 Feb 2019 20:48:37 +0000 (12:48 -0800)
commit1728b11110f1f86db97a2f3d18cb89552637e391
treee59397b34c18fbca196e149502381e4efa1ad31c
parent7e8a5903774bc5ce76efc1ed2782fa906e58f8a8
parent96408c43447aff5091a6938f29d8b6f2d0aa2064
Merge branch 'libbpf-btf_ext'

Yonghong Song says:

====================
This patch set exposed a few functions in libbpf.
All these newly added API functions are helpful for
JIT based bpf compilation where .BTF and .BTF.ext
are available as in-memory data blobs.

Patch #1 exposed several btf_ext__* API functions which
are used to handle .BTF.ext ELF sections.
Patch #2 refactored the function bpf_map_find_btf_info()
and exposed API function btf__get_map_kv_tids() to
retrieve the map key/value type id's generated by
bpf program through BPF_ANNOTATE_KV_PAIR macro.
====================

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