Skip to content

Commit 4ef47f8

Browse files
committed
Prep 1.29
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
1 parent 7f9c031 commit 4ef47f8

File tree

5 files changed

+64
-4
lines changed

5 files changed

+64
-4
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ if (NOT DEFINED BUILD_SHARED_LIBS)
4545
endif (NOT DEFINED BUILD_SHARED_LIBS)
4646

4747
# Just for grepping, DWARVES_VERSION isn't used anywhere anymore
48-
# add_definitions(-D_GNU_SOURCE -DDWARVES_VERSION="v1.28")
48+
# add_definitions(-D_GNU_SOURCE -DDWARVES_VERSION="v1.29")
4949
add_definitions(-D_GNU_SOURCE -DDWARVES_MAJOR_VERSION=1)
50-
add_definitions(-D_GNU_SOURCE -DDWARVES_MINOR_VERSION=28)
50+
add_definitions(-D_GNU_SOURCE -DDWARVES_MINOR_VERSION=29)
5151
find_package(DWARF REQUIRED)
5252
find_package(ZLIB REQUIRED)
5353
find_package(argp REQUIRED)

MANIFEST

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ changes-v1.25
5757
changes-v1.26
5858
changes-v1.27
5959
changes-v1.28
60+
changes-v1.29
6061
buildcmd.sh
6162
COPYING
6263
NEWS

NEWS

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
v1.29
2+
3+
7f9c031edfc6d2f6 btf_encoder: Always initialize func_state to 0
4+
24c655f17e875492 btf_encoder: Switch func_states from a list to an array
5+
e3545ca63e50c309 btf_encoder: Clean up global encoders list
6+
4c916259c3e7fd3e dwarf_loader: Multithreading with a job/worker model
7+
17c757110e5ff2f1 dwarf_loader: Introduce cu->id
8+
419e37941c470d1f btf_encoder: Remove skip_encoding_inconsistent_proto
9+
99e78ff34f8171f9 btf_encoder: Introduce elf_functions_list
10+
61f37edc7d860191 btf_encoder: Introduce elf_functions struct type
11+
184dcaa47cd40444 btf_encoder: Separate ELF function, saved function representations
12+
13ae534068b9f518 btf_encoder: Free encoder->secinfo in btf_encoder__delete()
13+
80e501122a180e45 btf_encoder: Simplify function encoding
14+
bc3e337e5b379935 pfunct: Don't print functions twice when using -f
15+
176864dfe42f9f85 tests: Verify that pfunct prints btf_decl_tags read from BTF
16+
e703e6ebe92c976a btf_loader: Support for multiple BTF_DECL_TAGs pointing to same tag
17+
8067a85bf88af925 dwarves: Increase cu->obstack chunk size to 128Kb
18+
119
v1.28
220

321
3ddadc131586d6f3 btf_encoder: handle .BTF_ids section endianness

changes-v1.29

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
DWARF loader:
2+
3+
- Multithreading is now contained in the DWARF loader using a jobs queue and a
4+
pool of worker threads.
5+
6+
BTF encoder:
7+
8+
- The parallel reproducible BTF generation done using the new DWARF loader
9+
multithreading model is as fast as the old non-reproducible one and thus is
10+
now always performed, making the "reproducible_build" flag moot.
11+
12+
The memory consumption is now greatly reduced as well.
13+
14+
BTF loader:
15+
16+
- Support for multiple BTF_DECL_TAGs pointing to same tag.
17+
18+
Example:
19+
20+
$ pfunct vmlinux -F btf -f bpf_rdonly_cast
21+
bpf_kfunc bpf_fastcall void *bpf_rdonly_cast(const void *obj__ign, u32 btf_id__k);
22+
23+
Regression tests:
24+
25+
- Verify that pfunct prints btf_decl_tags read from BTF.
26+
27+
pfunct:
28+
29+
- Don't print functions twice when using -f.
30+
31+
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

rpm/SPECS/dwarves.spec

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
%define libver 1
33

44
Name: dwarves
5-
Version: 1.28
5+
Version: 1.29
66
Release: 1%{?dist}
77
License: GPL-2.0-only
88
Summary: Debugging Information Manipulation Tools (pahole & friends)
@@ -79,7 +79,7 @@ rm -Rf %{buildroot}
7979
%files
8080
%doc README.ctracer
8181
%doc README.btf
82-
%doc changes-v1.28
82+
%doc changes-v1.29
8383
%doc NEWS
8484
%{_bindir}/btfdiff
8585
%{_bindir}/codiff
@@ -131,6 +131,16 @@ rm -Rf %{buildroot}
131131
%{_libdir}/%{libname}_reorganize.so
132132

133133
%changelog
134+
* Wed Jan 15 2025 Arnaldo Carvalho de Melo <acme@redhat.com> - 1.29-1
135+
- Multithreading is now in the DWARF loader using a jobs queue and a pool of worker threads.
136+
- The BTF encoding now is always reproducible, and as fast/faster than before.
137+
- The memory consumption is reduced.
138+
- Support for multiple BTF_DECL_TAGs pointing to same tag.
139+
- Verify that pfunct prints btf_decl_tags read from BTF.
140+
- Don't print functions twice when using 'pfunct -f function_name'.
141+
142+
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
143+
134144
* Fri Dec 6 2024 Arnaldo Carvalho de Melo <acme@redhat.com> - 1.28-1
135145
- New release: 1.28
136146
- Various improvements to reduce the memory footprint of pahole, notably when doing BTF encoding.

0 commit comments

Comments
 (0)