OS Manuals

/usr/bin/eu-stack

Utilities and DSOs to handle ELF files and DWARF data

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

Usage: eu-stack [OPTION...]
Print a stack for each thread in a process or core file.

Program exits with return code 0 if all frames were shown without any errors.
If some frames were shown, but there were some non-fatal errors, possibly
causing an incomplete backtrace, the program exits with return code 1.  If no
frames could be shown, or a fatal error occurred the program exits with return
code 2.  If the program was invoked with bad or missing arguments it will exit
with return code 64.

 Input selection options:
      --core=COREFILE        Show stack found in COREFILE
      --debuginfo-path=PATH  Search path for separate debuginfo files
  -e, --executable=EXEC      (optional) EXECUTABLE that produced COREFILE
  -p, --pid=PID              Show stack of process PID

 Output selection options:
  -1                         Show the backtrace of only one thread
  -a, --activation           Additionally show frame activation
  -b, --build-id             Show module build-id, load address and pc offset
  -c, --cfi-type             Show the backtrace method for each frame
                             (eh_frame, dwarf, inline, or ebl)
  -d, --debugname            Additionally try to lookup DWARF debuginfo name
                             for frame address
  -i, --inlines              Additionally show inlined function frames using
                             DWARF debuginfo if available (implies -d)
  -l, --list-modules         Show module memory map with build-id, elf and
                             debug files detected
  -m, --module               Additionally show module file information
  -n MAXFRAMES               Show at most MAXFRAMES per thread (default 256,
                             use 0 for unlimited)
  -q, --quiet                Do not resolve address to function symbol name
  -r, --raw                  Show raw function symbol names, do not try to
                             demangle names
  -s, --source               Additionally show source file information
  -S, --sysroot=sysroot      Set the sysroot to search for libraries referenced
                             from the core file
  -v, --verbose              Show all additional information (activation,
                             debugname, inlines, module and source)

  -?, --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 (21)
OptionDescriptionSource
--core COREFILEShow stack found in COREFILEhelp
--debuginfo-path PATHSearch path for separate debuginfo fileshelp
-e, --executable EXEC(optional) EXECUTABLE that produced COREFILEhelp
-p, --pid PIDShow stack of process PIDhelp
-1Show the backtrace of only one threadhelp
-a, --activationAdditionally show frame activationhelp
-b, --build-idShow module build-id, load address and pc offsethelp
-c, --cfi-typeShow the backtrace method for each frame (eh_frame, dwarf, inline, or ebl)help
-d, --debugnameAdditionally try to lookup DWARF debuginfo name for frame addresshelp
-i, --inlinesAdditionally show inlined function frames using DWARF debuginfo if available (implies -d)help
-l, --list-modulesShow module memory map with build-id, elf and debug files detectedhelp
-m, --moduleAdditionally show module file informationhelp
-n MAXFRAMESShow at most MAXFRAMES per thread (default 256, use 0 for unlimited)help
-q, --quietDo not resolve address to function symbol namehelp
-r, --rawShow raw function symbol names, do not try to demangle nameshelp
-s, --sourceAdditionally show source file informationhelp
-S, --sysroot sysrootSet the sysroot to search for libraries referenced from the core filehelp
-v, --verboseShow all additional information (activation, debugname, inlines, module and source)help
-?, --helpGive this help listhelp
--usageGive a short usage messagehelp
-V, --versionPrint program versionhelp

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