Message ID | 20190204190057.3965903-1-yhs@fb.com |
---|---|
Headers | show |
Series | tools/bpf: expose several libbpf API functions | expand |
On Mon, Feb 4, 2019 at 12:27 PM Yonghong Song <yhs@fb.com> wrote: > > 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. Applied to bpf-next. Thanks!