Skip to content

ELF writing changes

Giuliano Procida bpf dwarves 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest5 patches 0 repliesNew
  2. v35 patches 9 repliesSuperseded
  3. v24 patches 8 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v14 patches8 repliesApplied

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5btf_encoder: Funnel ELF error reporting through a macrolibbtf.c+19 -150 replies
2/5btf_encoder: Do not use both structs and pointers for the same datalibbtf.c+6 -80 replies
3/5btf_encoder: Traverse sections using a for-looplibbtf.c+1 -20 replies
4/5btf_encoder: Add .BTF section using libelflibbtf.c+81 -460 replies
5/5btf_encoder: Align .BTF section to 8 byteslibbtf.c+9 -00 replies

Reviews trailers per patch

4 of 5 patches have a Reviewed-by or Acked-by.

PatchAndrii Nakryiko
1/5A-b
2/5A-b
3/5
4/5A-b
5/5A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH dwarves v4 0/5] ELF writing changes

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(-)
Signature · 1 line
2.30.0.478.g8a0d178c01-goog