Arnaldo. Versus v3 I've addressed Andrii's review comments, but some there may be some style consistency issues remaining. The first three changes are intended to improve code maintenance. The fourth remoevs the llvm-objcopy dependency. THe fifth aligns the .BTF section. Giuliano. Giuliano Procida (5): btf_encoder: Funnel ELF error reporting through a macro btf_encoder: Do not use both structs and pointers for the same data btf_encoder: Traverse sections using a for-loop btf_encoder: Add .BTF section using libelf btf_encoder: Align .BTF section to 8 bytes libbtf.c | 183 ++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 114 insertions(+), 69 deletions(-) -- 2.30.0.478.g8a0d178c01-goog