Skip to content

fix two more DWARF/BTF discrepancies

Andrii Nakryiko bpf 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyIn review
  2. v12 patches 2 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2btf_loader: simplify fixup code by relying on BTF data morebtf_loader.c+11 -480 replies
2/2btf_encoder: don't special case packed enumsbtf_encoder.c+0 -91 reply

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchYonghong Song
1/2
2/2A-b

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 v2 pahole 0/2] fix two more DWARF/BTF discrepancies

This patchset fixes two more issues where DWARF/BTF encoding/loading produce different result:
- patch #1 fixes incorrect handling of "unknown" base types;
- patch #2 fixes incorrect handling of packed enums during encoding.

Andrii Nakryiko (2):
btf_loader: simplify fixup code by relying on BTF data more
btf_encoder: don't special case packed enums

 btf_encoder.c |  9 --------
 btf_loader.c  | 59 ++++++++++-----------------------------------------
 2 files changed, 11 insertions(+), 57 deletions(-)
Signature · 1 line
2.17.1