Skip to content

btf_dump fixes for s390

Ilya Leoshkevich bpf 3 versions – Applied

Status from this message: This patch was applied to bpf/bpf-next.git (master)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest1 patch 0 repliesApplied 1/1
  2. v24 patches 5 repliesSuperseded
  3. v13 patches 7 repliesSuperseded

Changes in v3 from the cover letter

- Drop committed patches.
- Handle potential division by zero when using btf__align_of(). Use btf__align_of() in btf_dump_ptr_data() instead of the direct ptr_sz
access: although it's slightly slower, the result is the same and the resulting code is more uniform.

Patches in v3 All 1 applied

#Subject and filesSizeRepliesApplied
1/1libbpf: Fix ptr_is_aligned() usagestools/lib/bpf/btf_dump.c+12 -80 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH bpf-next v3 0/1] btf_dump fixes for s390

v2: https://lore.kernel.org/bpf/[email protected]/
v2 -> v3:
- Drop committed patches.
- Handle potential division by zero when using btf__align_of(). Use btf__align_of() in btf_dump_ptr_data() instead of the direct ptr_sz
access: although it's slightly slower, the result is the same and the resulting code is more uniform.

v1: https://lore.kernel.org/bpf/[email protected]/
v1 -> v2:
- Remove redundant local variables, use t->size directly instead.
- Add btf__align_of() patch.

Ilya Leoshkevich (1):
libbpf: Fix ptr_is_aligned() usages

 tools/lib/bpf/btf_dump.c | 20 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)
Signature · 1 line
2.31.1