LLVM-PROFGEN(1)

πŸ“¦ version 15.0.7, in opensuse-leap 16.0

πŸ’… LLVM-PROFGEN(1)

ok so this is a page from the LLVM manual set, bestie β€” buckle up πŸŽ€

✨ NAME ✨

llvm-profgen β€” the LLVM SPGO profile generation tool. that's it, that's the whole vibe πŸ¦‹

✨ SYNOPSIS ✨

llvm-profgen [commands] [options]

✨ DESCRIPTION ✨

okay so picture this: the llvm-profgen utility generates a profile data file from the perf script data files you hand it, and it does this for sample-based profile guided optimization (SPGO). literally its whole job. no cap πŸ’–

🌸 COMMANDS 🌸

at least one of these commands is required, like you literally cannot skip this part bestie:

  • --perfscript=<string[,string,...]> β€” the path of the perf-script trace, which is created by the Linux perf tool with the script command. heads up though: the raw perf.data should be profiled with -b. 🫢
  • --binary=<string[,string,...]> β€” the path of the input profiled binary files.
  • --output=<string> β€” the path of the output profile file. this is where your lil profile goes πŸ’Ύ

πŸ”₯ OPTIONS πŸ”₯

llvm-profgen supports the following options β€” and yes we're listing every single one, i don't skip:

  • --format=[text|binary|extbinary|compbinary|gcc] β€” specify the format of the generated profile. the supported format values are text, binary, extbinary, compbinary, and gcc. if you want more deets on what each format actually means, go see llvm-profdata β€” it's giving lore iykyk πŸ“š
  • --show-mmap-events β€” print mmap events. that's it. it prints them πŸ—ΊοΈ
  • --show-disassembly β€” print disassembled code. iconic behavior honestly πŸ’€
  • --x86-asm-syntax=[att|intel] β€” specify whether to print assembly code in AT&T syntax (which is the default, fyi) or Intel syntax. pick your fighter βš”οΈ

πŸ‘‘ AUTHOR πŸ‘‘

maintained by the LLVM Team (https://llvm.org/) β€” shoutout to them fr fr πŸ’œ

2003-2023, LLVM Project


and that's the whole page bestie!! this one's page 15, dated 2023-01-14, straight from LLVM-PROFGEN(1) β€” mwah, go generate some gorgeous profiles πŸ’…βœ¨

πŸ“¦ where this page comes from