Re: RFC: Standalone AutoFDO Profile Tool for GCC

Project / Subsystem

gcc / rfc

Date

2026-09-14

Proposer

Kugan Vivekanandarajah <kvivekananda@nvidia.com>

Source type

public_inbox

Consensus

Proposed

Sentiment

—/10

Technical tradeoffs

  • • Leveraging existing libraries (e.g., libperf) might simplify development but could introduce dependencies or interface instability.
  • • Developing custom parsing offers more control but increases development effort and maintenance burden.
  • • Standalone tool vs. integrated approach: Flexibility vs. potential for code duplication or integration challenges.

All attributes

project
gcc
subsystem
rfc
patch_id
—
discussion_id
D8EE7B98-B161-4822-82C8-733A9AB3763F@nvidia.com
source_type
public_inbox
title
Re: RFC: Standalone AutoFDO Profile Tool for GCC
headline
Standalone AutoFDO Profile Tool for GCC
tldr
Proposal for a standalone AutoFDO profile tool, seeking feedback on perf data parsing and potential library reuse.
proposer
Kugan Vivekanandarajah <kvivekananda@nvidia.com>
consensus
Proposed
outcome
proposed
sentiment_score
—
technical_tradeoffs
  • • Leveraging existing libraries (e.g., libperf) might simplify development but could introduce dependencies or interface instability.
  • • Developing custom parsing offers more control but increases development effort and maintenance burden.
  • • Standalone tool vs. integrated approach: Flexibility vs. potential for code duplication or integration challenges.
series_id
—
series_role
standalone
series_parts
[]
tags
  • • optimization
  • • profiling
  • • AutoFDO
  • • perf
  • • compiler
bugzilla_url
—
date
2026-09-14T00:00:00.000Z

Re: RFC: Standalone AutoFDO Profile Tool for GCC

Kugan Vivekanandarajah proposes a standalone tool for AutoFDO profiles, distinct from the integrated GCC approach. He is seeking input on how to best handle the parsing of perf.data files and is open to suggestions for using existing libraries or a simpler parsing method. This initiative aims to offer more flexibility in profile data generation for compiler optimizations.