LLVM-PROFGEN(1)

okay so bestie πŸ’– welcome to the LLVM-PROFGEN(1) page in the LLVM manual β€” manual name folded in right here so we can skip the boring header line. slay.


✨ NAME ✨

llvm-profgen β€” LLVM SPGO profile generation tool πŸŽ€

🌸 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). periodt. πŸ’…

πŸ’– COMMANDS πŸ’–

At least one of the following commands are required β€” not a suggestion, bestie:

  • --perfscript=<string[,string,...]> β€” Path of the perf-script trace created by the Linux perf tool with its script command (the raw perf.data should 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> values are text, binary, extbinary, compbinary, and gcc; see llvm-profdata for 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/). 🫢

2003-2025, LLVM Project


mwah πŸ’‹ that's it β€” the LLVM-PROFGEN(1) page, LLVM source/version, page 19, dated 2025-01-17. byeee bestie πŸ«ΆπŸ’œ

πŸ“¦ where this page comes from