LLVM-PROFGEN(1)
π NAME π
Okay bestie, welcome to LLVM-PROFGEN(1) from the LLVM manual β this one is literally the LLVM SPGO profile generation tool, and itβs giving very specific sample-profiling energy. β¨
β¨ SYNOPSIS β¨
llvm-profgen [commands] [options]
π DESCRIPTION π
The llvm-profgen utility generates a profile data file from given perf script data files for sample-based profile guided optimization(SPGO). Thatβs the whole vibe: you bring the perf script data, it brings the profile file. π«Ά
πΈ COMMANDS πΈ
At least one of the following commands are required:
--perfscript=<string[,string,...]>β Path of perf-script trace created by Linux perf tool withscriptcommand(the rawperf.datashould be profiled with-b).--binary=<string[,string,...]>β Path of the input profiled binary files.--output=<string>β Path of the output profile file.
π¦ OPTIONS π¦
llvm-profgen supports the following options:
--format=[text|binary|extbinary|compbinary|gcc]β Specify the format of the generated profile. Supported <format> aretext,binary,extbinary,compbinary,gcc, seellvm-profdatafor more descriptions of the format.--show-mmap-eventsβ Print mmap events.--show-disassemblyβ Print disassembled code.--x86-asm-syntax=[att|intel]β Specify whether to print assembly code in AT&T syntax (the default) or Intel syntax.
π AUTHOR π
Maintained by the LLVM Team (https://llvm.org/). π
π COPYRIGHT π
2003-2023, LLVM Project
This page is rockinβ version 15, dated 2023-07-14, bestie π β and thatβs the cute little sign-off from the LLVM-PROFGEN(1) footer, no cap. π
π¦ where this page comes from
- ubuntu jammy: llvm-15 1:15.0.7-0ubuntu0.22.04.3 Β· APACHE-2-LLVM-EXCEPTIONS
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms