[all-commits] [llvm/llvm-project] 39336f: [BOLT] Control aggregation mode output profile fil...

Amir Ayupov via All-commits all-commits at lists.llvm.org
Mon Sep 19 13:37:26 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 39336fc09cac61fa38a6bc2d30731fe0e38d38a2
      https://github.com/llvm/llvm-project/commit/39336fc09cac61fa38a6bc2d30731fe0e38d38a2
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2022-09-19 (Mon, 19 Sep 2022)

  Changed paths:
    M bolt/include/bolt/Utils/CommandLineOpts.h
    M bolt/lib/Profile/DataAggregator.cpp
    M bolt/lib/Rewrite/RewriteInstance.cpp
    M bolt/lib/Utils/CommandLineOpts.cpp
    M bolt/test/X86/pre-aggregated-perf.test

  Log Message:
  -----------
  [BOLT] Control aggregation mode output profile file format

In perf2bolt and `-aggregate-only` BOLT mode, the output profile file is written
in fdata format by default. Provide a knob `-profile-format=[fdata,yaml]` to
control the format.
Note that `-w` option still dumps in YAML format.

Reviewed By: #bolt, maksfb

Differential Revision: https://reviews.llvm.org/D133995




More information about the All-commits mailing list