Debian Codegraph @

debian/changelog

raw
1 dwarves (1.31-2) unstable; urgency=medium
2
3 * Update d/watch to version 5.
4 * Update Standards-Version to 4.7.3:
5 - Remove Priority field.
6 * d/rules: Remove default and unnecessary options.
7 * Remove RRR from d/control, value is now default.
8 * Run wrap-and-sort with arguments 'asbkt'.
9 * Adopt package and set myself as maintainer.
10 Thanks to Domenico Andreoli for having maintained it! Closes: #1122991.
11 * Remove old postal address of FSF.
12 * Introduce new binary packages for library and development files
13 Closes: #1122977.
14 * d/gbp.conf
15 - Enable use of pristine-tar branch.
16 - Don't specify submodules.
17
18 -- HÃ¥vard F. Aasen <[email protected]> Fri, 02 Jan 2026 14:57:39 +0100
19
20 dwarves (1.31-1) unstable; urgency=medium
21
22 * New upstream release. Closes: #1120733.
23
24 -- Domenico Andreoli <[email protected]> Sun, 16 Nov 2025 16:49:20 +0100
25
26 dwarves (1.30-1) unstable; urgency=medium
27
28 * New upstream release. Closes: #1103000.
29 * Drop 01-fix-pahole-spelling-error.patch, merged upstream.
30 * Drop 03-dwarf_loader-fix-termination-on-BTF-encoding-error.patch,
31 merged upstream.
32 * Clean some files; their are not aligned with git:
33 - .github
34
35 -- Domenico Andreoli <[email protected]> Fri, 18 Apr 2025 08:26:35 +0200
36
37 dwarves (1.29-3) unstable; urgency=medium
38
39 * Add 03-dwarf_loader-fix-termination-on-BTF-encoding-error.patch.
40 Closes: #1100503, #1101262.
41
42 -- Domenico Andreoli <[email protected]> Fri, 28 Mar 2025 09:39:34 +0100
43
44 dwarves (1.29-2) unstable; urgency=medium
45
46 * Build only on Linux, other OSes require major changes.
47 Closes: #744847.
48 * Forwarded patches upstream.
49
50 -- Domenico Andreoli <[email protected]> Sat, 01 Feb 2025 14:50:53 +0100
51
52 dwarves (1.29-1) unstable; urgency=medium
53
54 * New upstream release.
55 * Drop 00-fix-btf_loader-spelling-error.patch, not needed any more.
56 * Clean some files; their permissions are not aligned with git:
57 - tests/pfunct-btf-decl-tags.sh
58
59 -- Domenico Andreoli <[email protected]> Tue, 21 Jan 2025 15:47:07 +0100
60
61 dwarves (1.28-1) unstable; urgency=medium
62
63 * New upstream release.
64 * Drop because merged upstream:
65 - 00-core-Initialize-cu_node-with-INIT_LIST_HEAD.patch
66 - 01-dwarf_loader-Add-missing-cus__add-to-cus__merge_and_process_cu.patch
67 * Add 01-fix-pahole-spelling-error.patch.
68 * Clean some files; their permissions are not aligned with git:
69 - tests/btf_functions.sh
70 - tests/default_vmlinux_btf.sh
71 - tests/flexible_arrays.sh
72 - tests/prettify_perf.data.sh
73 - tests/reproducible_build.sh
74 - tests/tests
75 * Clean config.h before the build. Closes: #1044846.
76
77 -- Domenico Andreoli <[email protected]> Tue, 10 Dec 2024 10:36:47 +0100
78
79 dwarves (1.27-1) unstable; urgency=medium
80
81 * New upstream release.
82 * Drop Thomas Girard from the maintainers. Closes: #1065134.
83 * Add 00-core-Initialize-cu_node-with-INIT_LIST_HEAD.patch
84 * Add 01-dwarf_loader-Add-missing-cus__add-to-cus__merge_and_process_cu.patch
85 * Add 02-fix-btf_loader-spelling-error.patch
86 * Add 03-reformat-long-line-in-pahole-manpage.patch
87 * Clean some files before the build; they are tagged in git but missing
88 from MANIFEST and therefore not included in the upstream tarball:
89 - PKG-MAINTAINERS
90 - README.cross
91 - ctfdwdiff
92 - tests/reproducible_build.sh
93
94 -- Domenico Andreoli <[email protected]> Thu, 20 Jun 2024 18:07:31 +0200
95
96 dwarves (1.26-1) unstable; urgency=medium
97
98 * New upstream release.
99 * Update BD to pkgconf.
100 * Update standards version to 4.7.0, no changes needed.
101 * Fix copyright year for debian/* files.
102
103 Changes since 1.25:
104 [ Arnaldo Carvalho de Melo ]
105 * core: Conditionally define language encodings.
106 * btf: Fix building with system libbpf.
107 * pahole: Honour --compile when -C is used.
108 * emit: Check if disambiguated struct/enum/union name was already
109 emitted in a previous CU.
110 * emit: Don't mark a enum with nr_members == 0 as printed, its just
111 a fwd decl.
112
113 [ David Lamparter ]
114 * dwarves: support DW_TAG_atomic_type.
115
116 [ Arnaldo Carvalho de Melo ]
117 * pahole: Allow --compile to work with DWARF in addition to with BTF.
118 * dwarf_loader: Support DW_TAG_label outside DW_TAG_lexblock.
119 * pahole: Add "btf" to the format-path option man page.
120 * pahole: Support '--lang/--lang_exclude=asm'
121 * btf_encoder: Add extra debug info for unsupported DWARF tags.
122 * core: Print more info on tag__assert_search_result()
123 * fprintf: Emit "_Atomic" modifiers for DW_TAG_atomic_type.
124 * btf_encoder: Store the CU being processed to avoid changing many functions.
125 * core: Add DW_TAG_unspecified_type to tag__is_tag_type() set.
126 * core: Record if a CU has a DW_TAG_unspecified_type.
127 * btf_encoder: Encode DW_TAG_unspecified_type returning routines as void.
128 * emit: Emit typedefs for atomic_ prefixed base types.
129 * emit: Optionally pass a conf_fprintf struct to type_emissions__init.
130 * emit: Allow skip emitting the atomic typedefs.
131 * pahole: Allow skipping the emission of atomic typedefs.
132 * fprintf: Move the "typedef " invariant printf to the start of
133 typedef__fprintf()
134 * fprintf: Support _Atomic typedefs.
135 * emit: Support DW_TAG_atomic_type when emitting definitions for a typedef.
136
137 [ Alan Maguire ]
138 * dwarves: Zero-initialize struct cu in cu__new() to prevent incorrect
139 BTF types.
140
141 [ Arnaldo Carvalho de Melo ]
142 * core: Use zalloc() to make the code more robust.
143 * pahole: Use zalloc() to make the code more robust.
144 * pfunct: Use zalloc() to make the code more robust.
145 * dwarf_loader: DW_TAG_inlined_subroutine needs recoding by
146 DW_AT_abstract_origin.
147 * core: Introduce base_type__language_defined()
148 * pahole: Use type__fprintf() directly for --compile.
149 * pahole: Set libbpf debug printer in -V mode.
150
151 [ Sedat Dilek ]
152 * dwarf_loader: Sync with LINUX_ELFNOTE_LTO_INFO macro from kernel.
153
154 [ Alan Maguire ]
155 * pahole: Sync with libbpf-1.1.
156 * dwarf_loader: Help spotting functions with optimized-out parameters.
157
158 [ Arnaldo Carvalho de Melo ]
159 * CMakeList.txt: Bump version to the upcoming 1.25 release, not out
160 of the door yet.
161
162 [ Alan Maguire ]
163 * btf_encoder: Ensure ELF function representation is fully initialized.
164
165 [ Arnaldo Carvalho de Melo ]
166 * core: Check that we're adding DW_TAG_member sorted by byte offset.
167 * dwarf_loader: Fix sorting of Rust structs.
168 * btfdiff: Exclude Rust CUs since those are not yet being converted
169 to BTF on the Linux kernel.
170
171 [ Alan Maguire ]
172 * dwarf_loader: Mark functions that do not use expected registers for params.
173 * btf_encoder: Exclude functions with unexpected param register use
174 not optimizations.
175 * pahole: Update descriptions for btf_gen_optimized,
176 skip_encoding_btf_inconsistent_proto.
177 * pahole: Update man page for options also in line with changes made
178 to skip logic.
179 * dwarf_loader: Fix detection of struct parameters.
180 * dwarf_loader: Fix parameter location retrieval for location lists
181 * dwarf_loader: Only mark parameter as using an unexpected register
182 when it does.
183
184 [ Arnaldo Carvalho de Melo ]
185 * CMakeLists.txt: Call cmake_minimum_required() before project()
186 * fprintf: Support DW_TAG_LLVM_annotation in dwarf_tag_name()
187
188 [ Eduard Zingerman ]
189 * dwarf_loader: Fix for BTF id drift caused by adding unspecified types.
190
191 [ Alan Maguire ]
192 * fprintf: Generalize function prototype print to support passing conf
193 * fprintf: Support skipping modifier.
194 * btf_encoder: Compare functions via prototypes not parameter names.
195
196 [ Eduard Zingerman ]
197 * fprintf: Correct names for types with btf_type_tag attribute.
198 * btf_loader: A hack for BTF import of btf_type_tag attributes.
199 * fprintf: Fix `*` not being printed for pointers with btf_type_tag.
200
201 [ Arnaldo Carvalho de Melo ]
202 * pahole: Prep 1.25.
203 * dwarf_loader: Add support for DW_TAG_constant.
204 * fprintf: Add DW_TAG_constant pretty printer (constant__fprintf)
205 * pdwtags: Print DW_TAG_constant tags.
206 * dwarf_loader: DW_TAG_subroutine_type may have a DW_AT_byte_size.
207
208 [ Viktor Malik ]
209 * spec: Migrate license to a SPDX standardized one.
210
211 [ Arnaldo Carvalho de Melo ]
212 * README: Remove old comments about ancient distros and add 'git submodule'
213 instruction.
214 * pahole: Don't keep structs in multiple RB trees.
215
216 [ Alan Maguire ]
217 * btf_encoder, pahole: Move BTF encoding options into 'struct conf_load'
218 * dwarves: Move ARRAY_SIZE() to dwarves.h
219 * pahole: Add --btf_features support.
220 * pahole: Add --supported_btf_features.
221 * pahole: Add --btf_features_strict to reject unknown BTF features
222
223 [ Arnaldo Carvalho de Melo ]
224 * CMakeList.txt: Bump version to the upcoming 1.26 release, not out
225 of the door yet.
226 * pahole: Make sure the features string is NUL terminated.
227 * fprintf: Introduce struct to account holes in class member types.
228 * fprintf: Introduce method to print info about type of last member.
229 * fprintf: Print number of holes in class member types.
230 * fprintf: Print number of bit holes in class member types.
231 * fprintf: Print number of bit paddings in class member types.
232 * fprintf: When expanding types do it for enums as well.
233 * fprintf: Add missing space after expanding a structure for a struct member.
234 * fprintf: When expanding types do it for struct typedefs as well.
235 * fprintf: Factor out the fprintf of a union declaration, for reuse.
236 * fprintf: When expanding types do it for union typedefs as well.
237 * btfdiff: Parallelize loading BTF and DWARF.
238 * btf_loader: Fix loading of 32-bit signed enums.
239 * btfdiff: Do type expansion to cover "private" types and enumerations.
240 * core: Introduce cu__for_each_enumeration()
241 * pahole: Do not use -1 to mean that a enumerator wasn't found in
242 an enumeration.
243 * pahole: Implement --contains_enumerator=ENUMERATOR_NAME.
244 * pahole: Improve error message when not resolving symbolic names in filters.
245 * pahole: Wait to find a DWARF CU with both the class and the type_enum.
246 * dwarf_loader: Print the line number in addition to the function
247 when not finding the abstract origin.
248 * syscse: cus__load_files() requires a non NULL conf_load.
249 * dtagnames: cus__load_files() requires a non NULL conf_load.
250 * prefcnt: cus__load_files() requires a non NULL conf_load.
251 * NEWS: Add missing list of changes for v1.25.
252 * pahole: Prep 1.26.
253
254 -- Domenico Andreoli <[email protected]> Wed, 15 May 2024 18:10:44 +0200
255
256 dwarves (1.25-0.1) unstable; urgency=medium
257
258 * Non-maintainer upload.
259 * New upstream release.
260 Changes since 1.24:
261
262 DWARF loader:
263
264 - Support for DW_TAG_unspecified_type more generally, that in binutils
265 2.40 is used for assembly functions, resulting in BTF encoding problems
266 when building the Linux kernel.
267
268 - Make sure struct member offsets are in ascending order. This is part of
269 the set of changes to support encoding BTF for Rust for use with the
270 Linux kernel, where the BTF verifier considers invalid offset unordered
271 struct members.
272
273 - Support C atomic types (DW_TAG_atomic_type), that are not used in the
274 Linux kernel but is present in user space components such as Open
275 VSwitch.
276
277 BTF loader:
278
279 - Initial support for DW_TAG_LLVM_annotation, used for BTF type tags, to
280 encode things like __rcu, __user annotations in the Linux kernel. This
281 is still in flux with changes in how these are encoded that resulted
282 from the discussion to support this in gcc in addition to in clang,
283 where it was first designed.
284
285 BTF encoder:
286
287 - Exclude functions with the same name (static functions in different
288 CUs), inconsistent prototypes or not following calling convention.
289
290 - Allow generation of BTF for optimized functions, those that end with a
291 .isra* suffix (inter procedural scalar replacement of aggregates) or
292 .constprop* (constant propagation).
293
294 Pretty printer:
295
296 - For now the DW_TAG_LLVM_annotation tags are being suppressed, so the
297 output from BTF and DWARF matches, further work is planned to support it
298 so that the output matches the original source code and can be
299 recompilable, resulting in the same DWARF info.
300
301 - Support C atomic types, allowing the generation of source code that can
302 be compiled with resulting DWARF info matching the original source code.
303
304 pahole:
305
306 - Support --lang=/--lang_exclude=asm, the DW_LANG_ define for assembly is
307 out of order, special case it to support asking for CUs written in
308 assembly to be selected or excluded.
309
310 - Support suppressing the atomic type modifiers/attributes.
311
312 - Allow filtering out functions optimized by the compiler, where the
313 calling convention isn't the one expected by BPF or arguments are
314 optimized out.
315
316 - Support --compile from DWARF in addition to from BTF, this allows user
317 space components such as Open VSwitch to use pahole to generate
318 compilable code for its data structures.
319
320 btfdiff:
321
322 - Exclude RUST CUs, as those are not yet being BTF encoded.
323
324 * Drop patches already applied upstream:
325 - 00-store-the-CU-being-processed-to-avoid-changing-many-functions.patch
326 - 01-record-if-a-CU-has-a-DW_TAG_unspecified_type.patch
327 - 02-encode-DW_TAG_unspecified_type-returning-routines-as-void.patch
328
329 -- Andrea Righi <[email protected]> Wed, 03 May 2023 09:24:39 +0200
330
331 dwarves (1.24-4.1) unstable; urgency=medium
332
333 * Non-maintainer upload.
334 * dwarves: Zero-initialize struct cu in cu__new() to prevent incorrect BTF
335 types.
336 Fixes BTF deduplication issues causing arm64 kernel size increase.
337 Thanks to Aurelien Jarno (Closes: #1033301)
338
339 -- Salvatore Bonaccorso <[email protected]> Tue, 02 May 2023 20:37:16 +0200
340
341 dwarves (1.24-4) unstable; urgency=medium
342
343 * Backport upstream patches to support newer toolchains.
344 Closes: #1021562.
345
346 -- Domenico Andreoli <[email protected]> Sat, 10 Dec 2022 10:11:28 +0100
347
348 dwarves (1.24-3) unstable; urgency=medium
349
350 * Fix libbpf build-depends-on-1-revision lintian warning.
351 * Fix smoketest configuration and dependencies.
352 * Fix `upstream-tag` for gbp push.
353 * Update standards version to 4.6.1, no changes needed.
354
355 -- Domenico Andreoli <[email protected]> Tue, 08 Nov 2022 09:39:58 +0100
356
357 dwarves (1.24-2) unstable; urgency=medium
358
359 * Upload to unstable.
360 * Add libbpf-dev to the autopkgtest dependencies.
361
362 -- Domenico Andreoli <[email protected]> Mon, 07 Nov 2022 07:48:23 +0100
363
364 dwarves (1.24-1) experimental; urgency=medium
365
366 * New upstream release. Closes: 1018906.
367 Changes since 1.23:
368
369 BTF encoder:
370
371 - Add support to BTF_KIND_ENUM64 to represent enumeration entries
372 with more than 32 bits.
373
374 - Support multithreaded encoding, in addition to DWARF
375 multithreaded loading, speeding up the process.
376
377 Selected just like DWARF multithreaded loading, using the
378 'pahole -j' option.
379
380 - Encode 'char' type as signed.
381
382 BTF Loader:
383
384 - Add support to BTF_KIND_ENUM64.
385
386 pahole:
387
388 - Introduce --lang and --lang_exclude to specify the language the
389 DWARF compile units were originated from to use or filter.
390
391 Use case is to exclude Rust compile units while aspects of the
392 DWARF generated for it get sorted out in a way that the kernel
393 BPF verifier don't refuse loading the BTF generated from them.
394
395 - Introduce --compile to generate compilable code in a similar
396 fashion to
397
398 bpftool btf dump file vmlinux format c > vmlinux.h
399
400 As with 'bpftool', this will notice type shadowing, i.e. multiple
401 types with the same name and will disambiguate by adding a suffix.
402
403 - Don't segfault when processing bogus files.
404
405 * Update libbpf-dev and linux-libc-dev build depends.
406 * Drop add_cmake_libbpf_enabled_option.patch, not developing it as
407 needed for #744847.
408 * Run some smoke tests on all the delivered binaries.
409
410 -- Domenico Andreoli <[email protected]> Sat, 22 Oct 2022 14:31:35 +0200
411
412 dwarves (1.23-2) unstable; urgency=medium
413
414 * Upload to unstable, linux 5.17 is now available.
415 * pahole: add missing Breaks. Closes: #1008093.
416
417 -- Domenico Andreoli <[email protected]> Wed, 20 Apr 2022 06:52:21 +0200
418
419 dwarves (1.23-1) experimental; urgency=medium
420
421 * New upstream release.
422 Changes since 1.22:
423
424 DWARF loader:
425
426 - Read DW_TAG_LLVM_annotation tags, associating it with variables,
427 functions, types. So far this is only being used by the BTF
428 encoder, but the pretty printer should use this as well in a
429 future release, printing these attributes when available.
430
431 - Initial support for DW_TAG_skeleton_unit, so far just suggest
432 looking up a matching .dwo file to be used instead. Automagically
433 doing this is in the plans for a future release.
434
435 - Fix heap overflow when accessing variable specification.
436
437 BTF encoder:
438
439 - Support the new BTF type tag attribute, encoding
440 DW_TAG_LLVM_annotation DWARF tags as BTF_KIND_TYPE_TAG and
441 BTF_KIND_DECL_TAG.
442
443 This allows __attribute__((btf_type_tag("tag1"))) to be used for
444 variables, functions, typedefs, so that contextual information can
445 be stored in BTF and used by the kernel BPF verifier for more checks.
446
447 The --skip_encoding_btf_type_tag option can be used to suppress this.
448
449 - Fix handling of percpu symbols on s390.
450
451 BTF loader:
452
453 - Use cacheline size to infer alignment.
454
455 btfdiff:
456
457 - Now that the BTF loader infers struct member alingment, and as that
458 is just an heuristic, suppress printing the alignment when pretty
459 printing from BTF info like is done when printing from DWARF.
460
461 pahole:
462
463 - Add --skip_missing so that we don't stop when not finding one of
464 the types passed to -C.
465
466 Pretty printer:
467
468 - Fix __attribute__((__aligned__(N)) printing alignment for struct
469 members.
470
471 - Fix nested __attribute__(__aligned__(N)) struct printing order,
472 so that rebuilding from the printed source circles back to the
473 original source code alignment semantics.
474
475 Build:
476
477 - No need to download libbpf source when using the system library
478 (libbpf-devel).
479
480 - Make python optional
481
482 * Drop pahole-manpage-fixes.patch, merged upstream.
483 * Bump build-depends libbpf-dev version to 1:0.7~.
484 * Bump build-depends linux-libc-dev version to 5.17~.
485
486 -- Domenico Andreoli <[email protected]> Tue, 08 Mar 2022 15:39:28 +0100
487
488 dwarves (1.22-8) unstable; urgency=medium
489
490 * Add binutils-multiarch to the autopkgtest dependencies.
491
492 -- Domenico Andreoli <[email protected]> Wed, 02 Mar 2022 23:29:15 +0100
493
494 dwarves (1.22-7) unstable; urgency=medium
495
496 * Add libdw-dev to the autopkgtest dependencies.
497
498 -- Domenico Andreoli <[email protected]> Wed, 02 Mar 2022 05:56:50 +0000
499
500 dwarves (1.22-6) unstable; urgency=medium
501
502 * Update Standards-Version to 4.6.0.
503 * dwarf-struct-with-hole: build and analyze pahole.c
504 * Drop kernel build test (closes: #1005014):
505 - arch's kernel config package is just a Recommend of the source
506 package, as such it's not honoured by autopkgtest. There is no
507 way to depend on it without specifying also the kernel version.
508 * dwarf-struct-with-hole: exercise the DWARF -> BTF translation.
509 * dwarf-struct-with-hole, btf-struct-with-hole:
510 print the .BTF section header at the end of the test.
511
512 -- Domenico Andreoli <[email protected]> Tue, 01 Mar 2022 21:10:29 +0100
513
514 dwarves (1.22-5) unstable; urgency=medium
515
516 * Add test: minimal Linux kernel build with BTF.
517
518 -- Domenico Andreoli <[email protected]> Fri, 04 Feb 2022 18:59:44 +0100
519
520 dwarves (1.22-4) unstable; urgency=high
521
522 [Ben Hutchings]
523 * Fix inconsistent usage of HAVE_BTF and HAVE_BPF in
524 add_cmake_libbpf_enabled_option.patch. Closes: #1004311.
525
526 -- Domenico Andreoli <[email protected]> Wed, 26 Jan 2022 12:24:40 +0100
527
528 dwarves (1.22-3) unstable; urgency=medium
529
530 * debian/rules: fix logic for disabling BPF support on non-linux.
531 * Rename test: pahole-struct-with-hole -> dwarf-struct-with-hole.
532 * Add test: btf-struct-with-hole.
533
534 -- Domenico Andreoli <[email protected]> Tue, 25 Jan 2022 21:58:43 +0100
535
536 dwarves (1.22-2) unstable; urgency=medium
537
538 * Mark dwarves binary as Multi-Arch foreign.
539 * Update libbpf-dev Build-Depends version.
540 * Consolidate and forward patches.
541 * Add test: pahole-struct-with-hole.
542 * Disable BPF support on hurd-i386, kfreebsd-amd64 and kfreebsd-i386:
543 - add add_cmake_libbpf_enabled_option.patch
544 * Rename branch debian/master to debian/main.
545
546 -- Domenico Andreoli <[email protected]> Fri, 21 Jan 2022 19:55:31 +0100
547
548 dwarves (1.22-1) unstable; urgency=low
549
550 * New upstream release.
551 Changes since 1.20:
552
553 pahole:
554 - Allow encoding BTF to a separate BTF file (detached) instead of to a new
555 ".BTF" ELF section in the file being encoded (vmlinux usually).
556 - Introduce -j/--jobs option to specify the number of threads to
557 use. Without arguments means one thread per CPU. So far used for
558 the DWARF loader, will be used as well for the BTF encoder.
559 - Show all different types with the same name, not just the first one found.
560 - Introduce sorted type output (--sort), needed with multithreaded
561 DWARF loading, to use with things like 'btfdiff' that expects
562 the output from DWARF and BTF types to be comparable using 'diff'.
563 - Stop assuming that reading from stdin means pretty printing as this broke
564 pre-existing scripts, introduce a explicit --prettify command line option.
565 - Improve type resolution for the --header command line option.
566 - Disable incomplete CTF encoder, this needs to be done using the external
567 libctf library.
568 - Do not consider the ftrace filter when encoding BTF for kernel functions.
569 - Add --kabi_prefix to avoid deduplication woes when using
570 _RH_KABI_REPLACE()
571 - Add --with_flexible_array to show just types with flexible arrays.
572
573 DWARF Loader:
574 - Multithreaded loading, requires elfutils >= 0.178.
575 - Lock calls to non-thread safe elfutils' libdw functions (dwarf_decl_file()
576 and dwarf_decl_line())
577 - Change hash table size to one that performs better with current typical
578 vmlinux files.
579 - Allow tweaking the hash table size from the command line.
580 - Stop allocating memory for strings obtained from libdw, just defer freeing
581 the Dwfl handler so that references to its strings can be safely kept.
582 - Use a frontend cache for the latest lookup result.
583 - Allow ignoring some DWARF tags when loading for encoding
584 BTF, as BTF doesn't have equivalents for things like
585 DW_TAG_inline_expansion and DW_TAG_label.
586 - Allow ignoring some DWARF tag attributes, such as DW_AT_alignment,
587 not used when encoding BTF.
588 - Do not query for non-C attributes when loading a C language CU
589 (compilation unit).
590
591 BTF encoder:
592 - Preparatory work for multithreaded encoding, the focus for 1.23.
593
594 btfdiff:
595 - Support diffing against a detached BTF file,
596 e.g.: 'btfdiff vmlinux vmlinux.btf'
597 - Support multithreaded DWARF loading, using the new pahole --sort
598 option to have the output from both BTF and DWARF sorted and thus
599 comparable via 'diff'.
600
601 Build:
602 - Support building with libc libraries lacking either obstacks or argp, such
603 as Alpine Linux's musl libc.
604 - Support systems without getconf() to obtain the data cacheline size, such
605 as musl libc.
606 - Add a buildcmd.sh for test builds, tested using the same set of containers
607 used for testing the Linux kernel perf tools.
608 - Enable selecting building with a shared libdwarves library or statically.
609 - Allow one to use the libbpf package found in distributions instead
610 of with the accompanying libbpf git submodule.
611
612 Cleanups:
613 - Address lots of compiler warnings accumulated by not using -Wextra, it'll
614 be added in the next release after allowing not to use it to build libbpf.
615 - Address covscan report issues.
616
617 Documentation:
618 - Improve the --nr_methods/-m pahole man page entry.
619 - Clarify that currently --nr_methods doesn't work together witn -C.
620
621 * Refresh patches.
622 * Drop patch no_shared_no_ebl, can do without it.
623 * Build-Depends on linux-libc-dev (>= 5.14) for BTF_KIND_FLOAT.
624 * Rename source package to dwarves. Closes: #705969.
625 * Rename binary package to pahole and add a transitional dummy package.
626 * Patch pahole manpage to fix groff's warning.
627 * Configure gbp to sign tags by default.
628 * Remove superfluous file patterns from debian/copyright.
629
630 -- Domenico Andreoli <[email protected]> Tue, 19 Oct 2021 23:31:29 +0200
631
632 dwarves-dfsg (1.20-2) unstable; urgency=high
633
634 * Build-Depends on libbpf-dev on Linux builds only.
635 * Add lintian override for upstream-metadata-missing-bug-tracking,
636 upstream does not have any bug tracking system.
637 * Mark dwarves binary as Multi-Arch foreign. Closes: #989174.
638
639 -- Domenico Andreoli <[email protected]> Sun, 07 Feb 2021 22:37:57 +0100
640
641 dwarves-dfsg (1.20-1) unstable; urgency=medium
642
643 * New upstream release.
644 Changes since 1.19:
645
646 BTF encoder:
647 - Improve ELF error reporting using elf_errmsg(elf_errno()).
648 - Improve objcopy error handling.
649 - Fix handling of 'restrict' qualifier, that was being treated
650 as a 'const'.
651 - Support SHN_XINDEX in st_shndx symbol indexes, to handle ELF
652 objects with more than 65534 sections, for instance, which
653 happens with kernels built with 'KCFLAGS="-ffunction-sections
654 -fdata-sections", Other cases may include when using FG-ASLR, LTO.
655 - Cope with functions without a name, as seen sometimes when
656 building kernel images with some versions of clang, when a
657 SEGFAULT was taking place.
658 - Fix BTF variable generation for kernel modules, not skipping
659 variables at offset zero.
660 - Fix address size to match what is in the ELF file being
661 processed, to fix using a 64-bit pahole binary to generate BTF
662 for a 32-bit vmlinux image.
663 - Use kernel module ftrace addresses when finding which functions
664 to encode, which increases the number of functions encoded.
665 DWARF loader:
666 - Support DW_AT_data_bit_offset
667 - DW_FORM_implicit_const in attr_numeric() and attr_offset()
668 - Support DW_TAG_GNU_call_site, its the standardized rename of
669 the previously supported DW_TAG_GNU_call_site.
670 build:
671 - Fix compilation on 32-bit architectures.
672
673 * Refresh patches.
674 * Remove ctfdwdiff and README.cross so to reuse upstream tarball as-is.
675 * Update Standards-Version to 4.5.1
676 * Update debhelper compatibility to 13:
677 - install missing binaries: btfdiff and fullcircle
678 * Add upstream metadata file
679 * gbp: set upstream tarball compression to xz
680 * Add lintian override for orig-tarball-missing-upstream-signature,
681 see #882694.
682
683 -- Domenico Andreoli <[email protected]> Sun, 07 Feb 2021 17:59:01 +0100
684
685 dwarves-dfsg (1.19-1) unstable; urgency=high
686
687 * New upstream release. Closes: #978691.
688 Changes since 1.18:
689 - Support split BTF, where a main BTF file, vmlinux, can be used
690 to find types and then a kernel module, for instance, can have
691 just what is unique to it
692 - Update libbpf to get the split BTF support and use some of its
693 functions to load BTF and speed up DWARF loading and BTF encoding
694 - Support cross-compiled ELF binaries with different endianness
695 - Support showing typedefs for anonymous types, like structs,
696 unions and enums
697 - Align enumerators
698 - Workaround bugs in the generation of DWARF records for functions in
699 some gcc versions that were causing breakage in the encoding of BTF
700 - Ignore zero-sized ELF symbols instead of erroring out
701 - Handle union forward declaration properly in the BTF loader
702 - Introduce --numeric_version for use in scripts and Makefiles
703 - Try sole pfunct argument as a function name, just like pahole
704 with type names
705 - Speed up pfunct using some of the load techniques used in pahole
706 - Discard CUs after BTF encoding as they're not used anymore,
707 greatly reducing memory usage and speeding up vmlinux BTF encoding
708 - Revamp how per-CPU variables are encoded in BTF
709 - Include BTF info for static functions
710 - Use BTF's string APIs for strings management, greatly improving
711 performance over the tsearch()
712 - Increase size of DWARF lookup hash table, shaving off about 1
713 second out of about 20 seconds total for Linux BTF dedup
714 - Stop BTF encoding when errors are found in some DWARF CU
715 - Implement --packed, to show just packed structures, for instance,
716 here are the top 5 packed data structures in the Linux kernel
717 - Fix bug in distros such as OpenSUSE:15.2 where DW_AT_alignment
718 isn't defined
719
720 * Refresh patches.
721
722 -- Domenico Andreoli <[email protected]> Mon, 04 Jan 2021 23:33:54 +0100
723
724 dwarves-dfsg (1.18-1) unstable; urgency=medium
725
726 [ Domenico Andreoli ]
727 * New upstream release (changes since 1.17):
728 - Use type information to pretty print raw data from stdin, all
729 documented in the man pages, further information in the csets.
730 - Store percpu variables in vmlinux BTF. This can be disabled when
731 debugging kernel features being developed to use it.
732 - pahole now should be segfault free when handling gdb test suit
733 DWARF files, including ADA, FORTRAN, rust and dwp compressed files,
734 the later being just flatly refused, that got left for v1.19.
735 - Bail out on partial units for now, avoiding segfaults and providing
736 warning to user, hopefully will be addressed in v1.19.
737 Closes: #977715.
738 * Update Homepage link. Closes: #978708.
739 * Drop debian/compat in favor of Build-Depends: debhelper-compat.
740 * Fix typo in pahole manual page.
741 * Fix escaping in pahole manual page.
742 * Fix debian/copyright lintian errors.
743 * Revert test to a superficial pahole --version until partial units
744 become supported.
745
746 [ Luca Boccassi ]
747 * Use packaged libbpf instead of the statically linked. Closes: #979105.
748
749 -- Domenico Andreoli <[email protected]> Sun, 03 Jan 2021 13:41:31 +0100
750
751 dwarves-dfsg (1.17-1) unstable; urgency=low
752
753 * New upstream release (changes since 1.16):
754
755 BTF loader:
756 - Support raw BTF as available in /sys/kernel/btf/vmlinux.
757
758 pahole:
759 - When the sole argument passed isn't a file, take it as a class name:
760 - Do not require a class name to operate without a file name.
761 - Make --find_pointers_to consider unions:
762 - Make --contains and --find_pointers_to honour --unions
763 - Add support for finding pointers to void:
764 - Make --contains and --find_pointers_to to work with base types:
765 - Make --contains look for more than just unions, structs:
766 - Consider unions when looking for classes containing some class:
767 - Introduce --unions to consider just unions:
768 - Fix -m/--nr_methods - Number of functions operating on a type pointer
769
770 man-pages:
771 - Add section about --hex + -E to locate offsets deep into sub structs.
772 - Add more information about BTF.
773 - Add some examples.
774
775 * Update to Standards-Version 4.5.0:
776 - Drop get-orig-source rules target
777 - Add Rules-Requires-Root: no
778 * Update debhelper compat to 12.
779
780 -- Domenico Andreoli <[email protected]> Sun, 19 Apr 2020 20:25:33 +0200
781
782 dwarves-dfsg (1.16-1) unstable; urgency=low
783
784 * New upstream release (changes since 1.15):
785 - Preserve and encode exported functions as BTF_KIND_FUNC
786 - Add support for BTF_KIND_FUNC
787 - Account inline type __aligned__ member types for spacing
788 - Fix alignment of class members that are structs/enums/unions
789 - Fixup handling classes with no members, solving a NULL deref
790 - Avoid infinite loop trying to determine type with static data
791 member of its own type.
792 - type->type == 0 is void, fix --compile for that
793 - Print DW_TAG_subroutine_type as well
794 - Fix ptr_table__add_with_id() handling of pt->nr_entries, covering
795 how BTF variables IDs are encoded
796 - Allow passing the format path specifier, to use with BTF
797 - Fixup issues pointed out by various coverity reports
798
799 -- Domenico Andreoli <[email protected]> Wed, 15 Jan 2020 18:02:11 +0100
800
801 dwarves-dfsg (1.15-2) unstable; urgency=low
802
803 * Fix hardening-no-bindnow.
804 * Fix debian-watch-uses-insecure-uri.
805 * Fix debian-watch-does-not-check-gpg-signature.
806 * Fix priority-extra-is-replaced-by-priority-optional.
807 * Revert to dwarves-dbgsym for tests execution but skip the test if
808 it's not installable (i.e. on transition to testing).
809
810 -- Domenico Andreoli <[email protected]> Mon, 23 Sep 2019 18:21:35 +0200
811
812 dwarves-dfsg (1.15-1) unstable; urgency=medium
813
814 [ Theodore Y. Ts'o ]
815 * New upstream release (changes since 1.12, closes: #931142):
816 - Add support for BTF encoding which is a much more compact way
817 of encoding C type information. It is derived from CTF (Compact
818 C-Type format) and is designed for use with eBPF.
819 - Add initial support for the DWARF DW_TAG_partial_unit
820 - Improve support for pretty-printing unions
821 - Teach pahole to show where a struct was used, via the -I option
822 - Use the running kernel by default when no file name is passed
823 - Improve man pages
824 - Support new BTF deduplication algorithm found the Linux kernel's
825 libbpf library, which allows type information for the kernel to
826 be stored in roughly 1% of the space.
827 - Add a new utility, btfdiff, which compares the pretty-printed
828 type information between two kernel images.
829 - Teach pahole to use the BTF information to pretty print structures
830 using the BTF information using "pahole -F btf", which is much faster
831 than using the Dwarf information.
832 - Infer the __packed__ attribute for structures without alignment holes
833 and which violate the natural types' alignment requirements.
834 - Support DWARF5's DW_AT_alignment tag
835 - Add a --compile option to pfunct which produces compileable
836 output for function prototypes in an object file.
837 - Miscellaneous bug fixes
838
839 [ Domenico Andreoli ]
840 * Autopkgtest on libc-bin-dbgsym instead of dwarves-dbgsym. Closes: #923717.
841 * Fix typo in description of no_shared_no_ebl.
842
843 -- Domenico Andreoli <[email protected]> Tue, 30 Jul 2019 16:58:55 +0200
844
845 dwarves-dfsg (1.12-2) unstable; urgency=medium
846
847 * Convert to dh.
848 * Fix Homepage and Vcs-Git.
849 * Fix depends on debhelper >= 10.
850 * Remove trailing spaces from the Debian changelog.
851 * Update copyright to copyright-format/1.0. Closes: #919356.
852
853 -- Domenico Andreoli <[email protected]> Wed, 27 Feb 2019 18:09:08 +0100
854
855 dwarves-dfsg (1.12-1) unstable; urgency=medium
856
857 [ Domenico Andreoli ]
858 * New upstram release. Closes: #908563, #779809, #693096,
859 * Migrate to salsa.d.o and enable CI. Closes: #908564.
860 * Migrate to DEP-14.
861 * Drop patch DW_TAG_mutable_type (merged upstream).
862 * Refresh patch no_shared_no_ebl.
863 * Improve package description. Closes: #914527.
864 * Add test executing pahole on itself.
865 * Set debhelper compatibility level to 10.
866 * Start using dh_strip_nondeterminism.
867
868 [ Helmut Grohne ]
869 * Let dh_auto_configure pass cross flags to cmake. Closes: #903506.
870
871 -- Domenico Andreoli <[email protected]> Mon, 19 Nov 2018 18:11:43 +0100
872
873 dwarves-dfsg (1.10-2.1) unstable; urgency=medium
874
875 * Non-maintainer upload.
876
877 [ Robie Basak ]
878 * Fix FTBFS with newer elfutils. (Closes: #764484)
879
880 -- James Cowgill <[email protected]> Thu, 24 Mar 2016 13:01:08 +0000
881
882 dwarves-dfsg (1.10-2) unstable; urgency=low
883
884 * Make sure CMake uses standard library location if host has no
885 MultiArch. Closes: #665054.
886
887 -- Thomas Girard <[email protected]> Sat, 16 Jun 2012 10:50:15 +0200
888
889 dwarves-dfsg (1.10-1) unstable; urgency=low
890
891 * New upstram release.
892 * Record patches using dpkg-source --commit. Closes: #643102.
893 * Use MultiArch elfutils location. Closes: #665054.
894 * debian/control: change homepage to new location.
895 * debian/watch: change source tarball location.
896 * debian/control: bump Standards-Version: to 3.9.3. No changes needed.
897 * debian/rules: add missing build-arch and build-indep targets.
898
899 -- Thomas Girard <[email protected]> Fri, 08 Jun 2012 20:55:03 +0200
900
901 dwarves-dfsg (1.9-1) unstable; urgency=low
902
903 * Acknowledge 1.3-1.1 NMU (thanks to Michael Banck) and resynch with
904 Ubuntu release (thanks Bhavani Shankar).
905 * New upstream release:
906 - patch from 1.3-1.1ubuntu1 no longer needed.
907 - new manpage for pahole.
908 - new program scncopy to copy ELF sections.
909 - fixes crash when encountering a pointer in a struct. Closes: #513573.
910 - recognizes C++ classes. Closes: #621530.
911 - no longer FTBFS with gcc 4.6. Closes: #625158.
912 * Remove libebl detection and use. Closes: #534529.
913 * debian/control:
914 - bump debhelper level to 7.
915 - add Vcs-Git: and Vcs-Browser:
916 - bump Standards-Version: to 3.9.2.
917 - add zlib1g-dev build dependency.
918 * debian/copyright: add missing copyright holders.
919 * debian/rules:
920 - allow to be compiled twice in a row.
921 - ensure package building aborts if a program is not installed.
922 - use dh_prep instead of dh_clean -k.
923 * debian/dwarves.install:
924 - include syscse. Closes: #517180.
925 - add ctracer. See README.ctracer for information on how to use it.
926 * Switch to dpkg-source 3.0 (quilt) format.
927 * Fix many lintian warnings.
928
929 -- Thomas Girard <[email protected]> Mon, 02 May 2011 19:34:31 +0200
930
931 dwarves-dfsg (1.3-1.1ubuntu1) maverick; urgency=low
932
933 * dwarwes-dfsg-1.3/src/dwarves.c:
934 + Add missing headers to fix undefined reference to `S_IS*' linker
935 error with gcc 4.5 LP: #602367
936
937 -- Bhavani Shankar <[email protected]> Tue, 06 Jul 2010 22:20:38 +0530
938
939 dwarves-dfsg (1.3-1.1) unstable; urgency=low
940
941 * Non-maintainer upload.
942 * Applied patch by Peter Green (Closes: #534084)
943 + cmake/modules/FindDWARF.cmake: Removed libebl support.
944 + debian/control (Build-Depends): Removed libebl-dev.
945
946 -- Michael Banck <[email protected]> Sun, 29 Nov 2009 12:45:58 +0100
947
948 dwarves-dfsg (1.3-1) unstable; urgency=low
949
950 * Initial release, based on Domenico Andreoli <[email protected]> work.
951 Closes: #436522.
952
953 -- Thomas Girard <[email protected]> Mon, 24 Dec 2007 10:14:17 +0100