1 llvm-profgen - LLVM SPGO profile generation tool
2 ================================================
4 .. program:: llvm-profgen
9 :program:`llvm-profgen` [*commands*] [*options*]
14 The :program:`llvm-profgen` utility generates a profile data file
15 from given perf script data files for sample-based profile guided
20 At least one of the following commands are required:
22 .. option:: --perfscript=<string[,string,...]>
24 Path of perf-script trace created by Linux perf tool with `script`
25 command(the raw perf.data should be profiled with -b).
27 .. option:: --binary=<string[,string,...]>
29 Path of the input profiled binary files.
31 .. option:: --output=<string>
33 Path of the output profile file.
37 :program:`llvm-profgen` supports the following options:
39 .. option:: --format=[text|binary|extbinary|compbinary|gcc]
41 Specify the format of the generated profile. Supported <format> are `text`,
42 `binary`, `extbinary`, `compbinary`, `gcc`, see `llvm-profdata` for more
43 descriptions of the format.
45 .. option:: --show-mmap-events
49 .. option:: --show-disassembly
51 Print disassembled code.
53 .. option:: --x86-asm-syntax=[att|intel]
55 Specify whether to print assembly code in AT&T syntax (the default) or Intel