]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit49118dc4964690b580d43c2b963817156b21e0df
treee59397b34c18fbca196e149502381e4efa1ad31c
parentfb9613d42e33a059fc889c7ff38f125e872cbde2
parent2783232d34ba7cbffd5b5477a399fdf40cdd61a3
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>