OS Manuals

/usr/bin/eu-stackprof

Utilities and DSOs to handle ELF files and DWARF data

From elfutils 0.197-r0 (os), captured 2026-11-05 by running eu-stackprof --help (exit 0). permalink

Usage: eu-stackprof [OPTION...] [--] [CMD]...
Collect systemwide stack-trace profiles.

 Output options:
  -f, --force                Unlink output files to force writing as new.
  -g, --gmon                 Generate gmon.BUILDID.out files for each binary.
  -G, --hist-split=none/even/flex
                             Split gmon histogram output into even or flexible
                             chunks, default 'even'.
  -n, --maxframes=MAXFRAMES  Maximum number of frames to unwind, default 1 with
                             --gmon, 256 otherwise.
  -o, --output=DIR           Output directory for gmon.BUILDID.out files.
  -p, --pid=PID              Profile given PID, and its future children.
  -v, --verbose              Increase verbosity of logging messages
                             (modules/samples/frames/more).

  -?, --help                 Give this help list
      --usage                Give a short usage message
  -V, --version              Print program version

Mandatory or optional arguments to long options are also mandatory or optional
for any corresponding short options.

Report bugs to https://sourceware.org/bugzilla.
Options (12)
OptionDescriptionSource
-f, --forceIf the output directory for --gmon already contains files identified by the encountered build-ids, overwrite them with the newly collected data.help + man
-g, --gmonOutput program counter histograms and callgraphs for each executable binary encountered during profiling in gprof(1)'s gmon.out format.help + man
-G, --hist-split none/even/flexSpecify the method used to divide the address space into histograms for --gmon output.help + man
-n, --maxframes MAXFRAMESUpper bound on the number of frames to unwind for each stack sample.help + man
-o, --output DIRDirectory where to write results when --gmon output is enabled.help + man
-p, --pid PIDRestrict the profile to process PID and its future children.help + man
-v, --verboseIncrease verbosity of logging messages (modules/samples/frames/more).help + man
-?, --helpPrint a short list of options.help + man
--usageGive a short usage messagehelp
-V, --versionPrint program version.help + man
-e, --event EVENTConfigure perf_events sampling according to the provided libpfm event specification (e.g. perf::CPU-CLOCK:freq=1000). (in the manual page but not in --help)man
--event-listList available libpfm events and exit. (in the manual page but not in --help)man
Examples (4) from the manual page, untested

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.