1llvm-profgen - LLVM SPGO profile generation tool
2=================================================
3
4.. program:: llvm-profgen
5
6SYNOPSIS
7--------
8
9:program:`llvm-profgen` [*commands*] [*options*]
10
11DESCRIPTION
12-----------
13
14The :program:`llvm-profgen` utility generates a profile data file
15from given perf script data files for sample-based profile guided
16optimization(SPGO).
17
18COMMANDS
19--------
20At least one of the following commands are required:
21
22.. option:: --perfscript=<string[,string,...]>
23
24  Path of perf-script trace created by Linux perf tool with `script`
25  command(the raw perf.data should be profiled with -b).
26
27.. option:: --binary=<string[,string,...]>
28
29  Path of the input profiled binary files.
30
31.. option:: --output=<string>
32
33  Path of the output profile file.
34
35OPTIONS
36-------
37:program:`llvm-profgen` supports the following options:
38
39.. option:: --show-mmap-events
40
41  Print mmap events.
42
43.. option:: --show-disassembly
44
45  Print disassembled code.
46
47.. option:: --x86-asm-syntax=[att|intel]
48
49  Specify whether to print assembly code in AT&T syntax (the default) or Intel
50  syntax.
51