commit | 69eaab04c675ef2d0127a80b3395aa90dfd1061f | [log] [tgz] |
---|---|---|
author | Andrii Nakryiko <andriin@fb.com> | Mon Feb 04 17:29:44 2019 -0800 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Tue Feb 05 16:52:57 2019 +0100 |
tree | a75c3cb25d1bf2134b766f4faf95fb337b7a01c3 | |
parent | a8a1f7d09cfc7e18874786c7634c9e71384fcd4e [diff] |
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>