aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/sancov_plugin.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2019-02-04 17:29:45 -0800
committerDaniel Borkmann <[email protected]>2019-02-05 16:52:57 +0100
commitd5caef5b56555bfa2ac0cf730f075864a023437e (patch)
treeaa8f77aa92737d225574fe536014e9d49ff28b29 /scripts/gcc-plugins/sancov_plugin.c
parent69eaab04c675ef2d0127a80b3395aa90dfd1061f (diff)
btf: add BTF types deduplication algorithm
This patch implements BTF types deduplication algorithm. It allows to greatly compress typical output of pahole's DWARF-to-BTF conversion or LLVM's compilation output by detecting and collapsing identical types emitted in isolation per compilation unit. Algorithm also resolves struct/union forward declarations into concrete BTF types representing referenced struct/union. If undesired, this resolution can be disabled through specifying corresponding options. Algorithm itself and its application to Linux kernel's BTF types is described in details at: https://facebookmicrosites.github.io/bpf/blog/2018/11/14/btf-enhancement.html Signed-off-by: Andrii Nakryiko <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions