Skip to content

Small fixes and improvements

Giuliano Procida bpf dwarves 2 versions – Applied

Status from this message: Applied,

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 3 repliesApplied
  2. v13 patches 11 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3btf_encoder: Fix handling of restrict qualifierlibbtf.c+1 -11 reply
2/3btf_encoder: Improve error-handling around objcopylibbtf.c+4 -31 reply
3/3btf_encoder: Set .BTF section alignment to 16libbtf.c+8 -01 reply

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

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

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

Read the v2 thread

Cover letter [PATCH dwarves v2 0/3] Small fixes and improvements

Hi.

1 is a bug fix affecting restrict qualifiers.
2 avoids leaving debris if objcopy fails.
3 aligns the BTF section to 16 bytes to avoid misaligned access.

Note: I think 3 should be in abandoned in favour of using libelf directly. I'll give this a go. This would also obsolete 2 in its current form.

Regards.

Giuliano Procida (3):
btf_encoder: Fix handling of restrict qualifier
btf_encoder: Improve error-handling around objcopy
btf_encoder: Set .BTF section alignment to 16

 libbtf.c | 17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)
Signature · 1 line
2.30.0.296.g2bfb1c46d8-goog