[all-commits] [llvm/llvm-project] a330c8: [BOLT] Add perf2bolt pre-aggregated profile output

Amir Ayupov via All-commits all-commits at lists.llvm.org
Mon Jun 1 13:10:45 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a330c89d7de14a13b55e5aef3b80b054815c24ab
      https://github.com/llvm/llvm-project/commit/a330c89d7de14a13b55e5aef3b80b054815c24ab
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2026-06-01 (Mon, 01 Jun 2026)

  Changed paths:
    M bolt/docs/profiles.md
    M bolt/include/bolt/Profile/DataAggregator.h
    M bolt/include/bolt/Utils/CommandLineOpts.h
    M bolt/lib/Profile/DataAggregator.cpp
    M bolt/lib/Utils/CommandLineOpts.cpp
    M bolt/test/perf2bolt/lit.local.cfg
    A bolt/test/perf2bolt/perf_brstack.test
    M bolt/test/perf2bolt/perf_test.test

  Log Message:
  -----------
  [BOLT] Add perf2bolt pre-aggregated profile output

Add a pre-aggregated profile output format (`--profile-format=preagg`)
so perf.data can be pre-parsed/aggregated and used as input with -pa.

Supports branch (T traces) and basic samples (S records).

Currently only covers main binary, can be extended to cover multi-DSO.

Test Plan: Updated perf_test.test, added perf_brstack.test

Reviewers:
yota9, ayermolo, yozhu, maksfb, yavtuk, paschalis-mpeis, rafaelauler

Reviewed By: paschalis-mpeis

Pull Request: https://github.com/llvm/llvm-project/pull/199465



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list