]> git.baikalelectronics.ru Git - kernel.git/commit
libbpf: Expose btf__align_of() API
authorAndrii Nakryiko <andriin@fb.com>
Sat, 14 Dec 2019 01:43:30 +0000 (17:43 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Sun, 15 Dec 2019 23:58:05 +0000 (15:58 -0800)
commit5bcfb0558592a6ea9f426cb18b998cee7af4c075
treef698fa181502b4cacb53743a79fcfbfac6a88960
parent8701a4f10625588148c99245d91e1ddd21c47c64
libbpf: Expose btf__align_of() API

Expose BTF API that calculates type alignment requirements.

Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20191214014341.3442258-7-andriin@fb.com
tools/lib/bpf/btf.c
tools/lib/bpf/btf.h
tools/lib/bpf/btf_dump.c
tools/lib/bpf/libbpf.map