1LLVM-PROFGEN(1) LLVM LLVM-PROFGEN(1)
2
3
4
6 llvm-profgen - LLVM SPGO profile generation tool
7
9 llvm-profgen [commands] [options]
10
12 The llvm-profgen utility generates a profile data file from given perf
13 script data files for sample-based profile guided optimization(SPGO).
14
16 At least one of the following commands are required:
17
18 --perfscript=<string[,string,...]>
19 Path of perf-script trace created by Linux perf tool with script
20 command(the raw perf.data should be profiled with -b).
21
22 --binary=<string[,string,...]>
23 Path of the input profiled binary files.
24
25 --output=<string>
26 Path of the output profile file.
27
29 llvm-profgen supports the following options:
30
31 --format=[text|binary|extbinary|compbinary|gcc]
32 Specify the format of the generated profile. Supported <format>
33 are text, binary, extbinary, compbinary, gcc, see llvm-profdata
34 for more descriptions of the format.
35
36 --show-mmap-events
37 Print mmap events.
38
39 --show-disassembly
40 Print disassembled code.
41
42 --x86-asm-syntax=[att|intel]
43 Specify whether to print assembly code in AT&T syntax (the de‐
44 fault) or Intel syntax.
45
47 Maintained by the LLVM Team (https://llvm.org/).
48
50 2003-2023, LLVM Project
51
52
53
54
5514 2023-07-20 LLVM-PROFGEN(1)