LLVM-PROFGEN(1)
π LLVM-PROFGEN(1) π
okay bestie, welcome to the llvm-profgen page β that's section 1 of the LLVM manual, and it's literally the LLVM SPGO profile generation tool. yes that's a lot of acronyms, we'll get there π«Ά
β¨ NAME β¨
llvm-profgen β LLVM SPGO profile generation tool
no cap, that's the whole name section, short and iconic π
πΈ SYNOPSIS πΈ
llvm-profgen [commands] [options]
π¦ DESCRIPTION π¦
so 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 give it perf traces, it gives you a profile. slay π
π COMMANDS π
at least one of the following commands are required β so like, you gotta pick one, fr fr:
--perfscript=<string[,string,...]>β the path of the perf-script trace, created by the Linux perf tool with thescriptcommand. important: the rawperf.datashould be profiled with-b. don't forget the-b, bestie, it matters π--binary=<string[,string,...]>β the path of the input profiled binary files. yes, plural, you can comma-separate them π--output=<string>β the path of the output profile file. this is where your hard work lands β¨
π OPTIONS π
llvm-profgen supports the following options:
--format=[text|binary|extbinary|compbinary|gcc]β specify the format of the generated profile. the supported<format>values aretext,binary,extbinary,compbinary,gccβ seellvm-profdatafor more descriptions of the format. go read that one too, iykyk π--show-mmap-eventsβ print mmap events. that's it. that's the whole thing π₯--show-disassemblyβ print disassembled code. assembly reveal era π--x86-asm-syntax=[att|intel]β specify whether to print assembly code in AT&T syntax (which is the default, jsyk) or Intel syntax. pick your fighter βοΈ
π AUTHOR π
maintained by the LLVM Team (https://llvm.org/). they're the main characters, honestly π«Ά
π COPYRIGHT π
2003-2024, LLVM Project
and that's a wrap, bestie πΈ this page was page 12, dated 2024-07-18, from LLVM-PROFGEN(1) β go forth and profile, you absolute legend πβ¨
π¦ where this page comes from
- fedora 43: llvm12 12.0.1-12.fc41 Β· NCSA
- fedora 43: llvm12 12.0.1-12.fc41 Β· NCSA
- fedora 44: llvm12 12.0.1-12.fc41 Β· NCSA
- fedora 44: llvm12 12.0.1-12.fc41 Β· NCSA
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms