Fix BTF-to-C converter's padding generation
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | libbpf: fix struct end padding in btf_dumptools/ | +7 | 1 reply | |
| 2/3 | selftests/bpf: convert test_btf_dump into test_progs testtools/ tools/ | +35 | 0 replies | |
| 3/3 | selftests/bpf: fix btf_dump padding test casetools/ | +4 | 0 replies |
Reviews trailers per patch
None of the 3 patches has a Reviewed-by or Acked-by.
| Patch | John Fastabend |
|---|---|
| 1/3 | T-b |
| 2/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH bpf-next 0/3] Fix BTF-to-C converter's padding generation
Fix BTF-to-C logic of handling padding at the end of a struct. Fix existing test that should have captured this. Also move test_btf_dump into a test_progs test to leverage common infrastructure.
Andrii Nakryiko (3):
libbpf: fix struct end padding in btf_dump selftests/bpf: convert test_btf_dump into test_progs test selftests/bpf: fix btf_dump padding test case
tools/lib/bpf/btf_dump.c | 8 +-
tools/testing/selftests/bpf/Makefile | 2 +-
.../btf_dump.c} | 88 +++++++------------
.../bpf/progs/btf_dump_test_case_padding.c | 5 +-
4 files changed, 46 insertions(+), 57 deletions(-)
rename tools/testing/selftests/bpf/{test_btf_dump.c => prog_tests/btf_dump.c} (51%)Signature · 1 line
2.17.1