]> git.baikalelectronics.ru Git - kernel.git/commit
btf: extract BTF type size calculation
authorAndrii Nakryiko <andriin@fb.com>
Tue, 5 Feb 2019 01:29:44 +0000 (17:29 -0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Tue, 5 Feb 2019 15:52:57 +0000 (16:52 +0100)
commit606d46d4a0d9e2cd6e6dc33a09a30b7c0bc99fe9
treea75c3cb25d1bf2134b766f4faf95fb337b7a01c3
parentf0b7a349f15c341445a978a15d6ad3b1426d1cf1
btf: extract BTF type size calculation

This pre-patch extracts calculation of amount of space taken by BTF type descriptor
for later reuse by btf_dedup functionality.

Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/lib/bpf/btf.c