Re: [PAHOLE v5 0/5] support for DW_TAG_GNU_annotation and fixes
Vineet Gupta <[email protected]> Fri, 19 Jun 2026 16:18:40 -0700
| Newsgroups | org.kernel.vger.dwarves,org.kernel.vger.bpf |
|---|---|
| Message-ID | <[email protected]> |
Hi Alan, On 6/19/26 05:17, Alan Maguire wrote: > On 18/06/2026 01:57, Vineet Gupta wrote: >> Hi, >> >> This series handles gcc generated DW_TAG_GNU_annotation with the end >> goal to finally enable CONFIG_PAHOLE_HAS_BTF_TAG for gcc kerenel builds. >> >> Patches 1/5 and 5/5 are newly introduced in v5 per Alan's ask. >> >> P.S.: I've optimistically included Reviewed-by/Acked-by from Emil and >> Yonghong respectively on v4 [4] but those were before additional changes >> in v5 from Alan for a few things. Please let me know if that's no longer >> true. >> >> [4] https://lore.kernel.org/bpf/[email protected]/ >> > series applied, along with CI change to support [1]. Thank you! Thanks for quickly merging this. I now need to plumb this thru on the kernel side to essentially enable CONFIG_PAHOLE_HAS_BTF_TAG for gcc but that would need to be keyed off of a pahole release version. Is pahole due for a release (cadence and/or this changeset). If not I can speculative use the next version whenever that happens. There are other things in flight as well (gcc fix after 16.1) so this is not super urgent but will be good to get out of the way. Thx, -Vineet > > Alan > > [1] https://lore.kernel.org/dwarves/[email protected]/T/#r0d979ca6aa79a4586b75223ec51a54e7be1d74f8 > > >> Thx, >> -Vineet >> >> Alan Maguire (2): >> btf_loader: Handle decl tag component_idx for parameters >> tests: Add btf_type_tag ordering test >> >> Vineet Gupta (3): >> dwarf_loader: Extract die__add_btf_type_tag() helper [NFC] >> dwarf_loader: Add support for DW_TAG_GNU_annotation >> tests: Support GCC in pfunct-btf-decl-tags test >> >> btf_encoder.c | 1 + >> btf_loader.c | 46 ++++++++- >> dutil.h | 11 ++ >> dwarf_loader.c | 185 +++++++++++++++++++++++++++------- >> dwarves.h | 2 +- >> dwarves_fprintf.c | 32 ++++-- >> tests/btf_type_tag_order.sh | 179 ++++++++++++++++++++++++++++++++ >> tests/pfunct-btf-decl-tags.sh | 93 ++++++++++++----- >> 8 files changed, 478 insertions(+), 71 deletions(-) >> create mode 100755 tests/btf_type_tag_order.sh >>