Re: RFC: Standalone AutoFDO Profile Tool for GCC
Project / Subsystem
gcc / gcc
Date
2026-05-04
Proposer
Kugan Vivekanandarajah <kvivekananda@nvidia.com>
Source type
public_inbox
Consensus
Proposed
Sentiment
—/10
Technical tradeoffs
- • **Dependency Size:** libdwarf might be larger than libbacktrace.
- • **Version Support:** libdwarf versioning can be an issue, potentially requiring support for newer DWARF standards.
- • **Functionality:** libbacktrace might require changes or an additional library (ibdw) to provide the necessary functionality (discriminator).
All attributes
- project
- gcc
- subsystem
- gcc
- patch_id
- —
- discussion_id
- B80EC0EC-AE15-40D9-9F48-A01DE8716639@nvidia.com
- source_type
- public_inbox
- title
- Re: RFC: Standalone AutoFDO Profile Tool for GCC
- headline
- RFC: Standalone AutoFDO Profile Tool for GCC
- tldr
- An RFC proposes a standalone AutoFDO profile tool for GCC, aiming for simplicity and minimal dependencies, sparking discussion on dependency choices.
- proposer
- Kugan Vivekanandarajah <kvivekananda@nvidia.com>
- consensus
- Proposed
- outcome
- proposed
- sentiment_score
- —
- technical_tradeoffs
-
- • **Dependency Size:** libdwarf might be larger than libbacktrace.
- • **Version Support:** libdwarf versioning can be an issue, potentially requiring support for newer DWARF standards.
- • **Functionality:** libbacktrace might require changes or an additional library (ibdw) to provide the necessary functionality (discriminator).
- series_id
- —
- series_role
- standalone
- series_parts
- []
- tags
-
- • AutoFDO
- • optimization
- • profiling
- • toolchain
- bugzilla_url
- —
- date
- 2026-05-04T00:00:00.000Z
Re: RFC: Standalone AutoFDO Profile Tool for GCC
Kugan Vivekanandarajah proposes a standalone AutoFDO (Automatic Feedback-Directed Optimization) profile tool for GCC, intended to replace reliance on external, unmaintained Google tools. The tool aims to convert samples into AutoFDO profiles readable by the GCC toolchain, with minimal dependencies. The discussion focuses on whether to use libdwarf or libbacktrace for DWARF parsing, considering factors like version support and dependency size.