Skip to content

Arnaldo Carvalho de Melo bpf dwarves 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12core: Allow asking for a reproducible builddwarves.h pahole.c+9 -00 replies
2/12pahole: Disable BTF multithreaded encoded when doing reproducible buildspahole.c+22 -30 replies
3/12dwarf_loader: Separate creating the cu/dcu pair from processing itdwarf_loader.c+19 -50 replies
4/12dwarf_loader: Introduce dwarf_cus__process_cu()dwarf_loader.c+11 -70 replies
5/12dwarf_loader: Create the cu/dcu pair in dwarf_cus__nextcu()dwarf_loader.c+15 -40 replies
6/12dwarf_loader: Remove unused 'thr_data' arg from dwarf_cus__create_and_process_cu()dwarf_loader.c+3 -50 replies
7/12core: Add unlocked cus__add() variantdwarves.c dwarves.h+7 -30 replies
8/12core: Add cus__remove(), counterpart of cus__add()dwarves.c dwarves.h+17 -00 replies
9/12dwarf_loader: Add the cu to the cus list early, remove on LSK_DELETEdwarf_loader.c+11 -50 replies
10/12core/dwarf_loader: Add functions to set state of CU processingdwarf_loader.c dwarves.c dwarves.h+56 -30 replies
11/12pahole: Encode BTF serially in a reproducible builddwarves.c pahole.c+53 -30 replies
12/12tests: Add a BTF reproducible generation testtests/reproducible_build.sh+56 -03 replies

Reviews trailers per patch

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

PatchAlan Maguire
1/12
2/12
3/12
4/12
5/12
6/12
7/12
8/12
9/12
10/12
11/12T-b
12/12R-b T-b

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 00/12]

This allows us to have reproducible builds while keeping the
DWARF loading phase in parallel, achieving a noticeable speedup as showed in the commit log messages.

- Arnaldo

v2: Don't delete the CUs after encoding BTF for them, we may still have still references to them from the BTF encoder, as noticed by Alan Maguire.

Arnaldo Carvalho de Melo (12):
core: Allow asking for a reproducible build
pahole: Disable BTF multithreaded encoded when doing reproducible
builds
dwarf_loader: Separate creating the cu/dcu pair from processing it
dwarf_loader: Introduce dwarf_cus__process_cu()
dwarf_loader: Create the cu/dcu pair in dwarf_cus__nextcu()
dwarf_loader: Remove unused 'thr_data' arg from
dwarf_cus__create_and_process_cu()
core: Add unlocked cus__add() variant
core: Add cus__remove(), counterpart of cus__add()
dwarf_loader: Add the cu to the cus list early, remove on LSK_DELETE core/dwarf_loader: Add functions to set state of CU processing
pahole: Encode BTF serially in a reproducible build
tests: Add a BTF reproducible generation test

 dwarf_loader.c              | 73 ++++++++++++++++++++++++---------
 dwarves.c                   | 62 +++++++++++++++++++++++++++-
 dwarves.h                   | 17 ++++++++
 pahole.c                    | 81 +++++++++++++++++++++++++++++++++++--
 tests/reproducible_build.sh | 56 +++++++++++++++++++++++++
 5 files changed, 265 insertions(+), 24 deletions(-)
 create mode 100755 tests/reproducible_build.sh
Signature · 1 line
2.44.0