Skip to content

Fix pahole to emit kernel module BTF variables

Andrii Nakryiko bpf dwarves 1 version Applied

Status from this message: Thanks, applied.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2btf_encoder: fix BTF variable generation for kernel modulesbtf_encoder.c libbtf.c libbtf.h+18 -50 replies
2/2btf_encoder: fix skipping per-CPU variables at offset 0btf_encoder.c+24 -161 reply

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJiri Olsa
SeriesA-b
1/2
2/2

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

Read the v1 thread

Cover letter [PATCH dwarves 0/2] Fix pahole to emit kernel module BTF variables

Two bug fixes to make pahole emit correct kernel module BTF variable information.

Cc Hao Luo <[email protected]>
Cc Jiri Olsa <[email protected]>

Andrii Nakryiko (2):
btf_encoder: fix BTF variable generation for kernel modules
btf_encoder: fix skipping per-CPU variables at offset 0

 btf_encoder.c | 61 +++++++++++++++++++++++++++++++++------------------
 libbtf.c      |  1 +
 libbtf.h      |  1 +
 3 files changed, 42 insertions(+), 21 deletions(-)
Signature · 1 line
2.24.1