STAP(7)
β¨ STAP(7) β¨
Okay so this is the STAP(7) page from the Miscellaneous Information Manual, and itβs all about stappaths, bestie. Buckle up, itβs a path tour π
π NAME π
stappaths β systemtap configurable file paths. Thatβs the whole vibe, no cap.
π DESCRIPTION π
This manual page was generated for systemtap 5.6. The section below is the main-character list of systemtap paths you actually need to know and might have to reference. β¨
/usr/share/systemtap/tapset/β the directory for the standard probe-alias / function tapset library, unless overridden by theSYSTEMTAP_TAPSETenvironment variable or theXDG_DATA_DIRSenvironment variable. These are described in thestapprobes(3stap),probe::*(3stap), andfunction::*(3stap)manual pages. π«Ά/usr/share/systemtap/runtime/β the runtime sources, unless overridden by theSYSTEMTAP_RUNTIMEenvironment variable. π¦/usr/bin/staprunβ the auxiliary program supervising module loading, interaction, and unloading. π/etc/stap-exporterβ the default directory to search for*.stpfiles, for exporting to HTTP. π/usr/lib/systemtap/systemtap/stapioβ the auxiliary program for module input and output handling. π/usr/include/sys/sdt.hβ location of the<sys/sdt.h>headers. π§- Kernel debuginfo Path:
/usr/lib/debug/lib/modules/$(uname -r)/β the location of kernel debugging information when packaged into thekernel-debuginfoRPM, unless overridden by theSYSTEMTAP_DEBUGINFO_PATHenvironment variable. The default value for this variable is+:.debug:/usr/lib/debug:build.elfutilssearchesvmlinuxin this path and it interprets the path as a base directory of which various subdirectories will be searched for finding debuginfo for the kernel, kernel modules, and user-space binaries. By default, systemtap will also look forvmlinuxin these locations:
/boot/vmlinux-`uname -r`
/lib/modules/`uname -r`/vmlinux
/lib/modules/`uname -r`/vmlinux.debug
/lib/modules/`uname -r`/build/vmlinux
/lib/modules/`uname -r`/.debug/vmlinux.debug
/usr/lib/debug/lib/modules/`uname -r`/vmlinux.debug
/var/cache/abrt-di/usr/debug/lib/modules/`uname -r`/
/var/cache/abrt-di/usr/lib/debug/lib/modules/`uname -r`/vmlinux.debug
Corresponding source files are usually located under /usr/src/debug/. Further file information on user-space applications can be determined per-basis using rpm -ql <package>-debuginfo. For supported user-space applications information please visit the systemtap wiki. πΈ
With elfutils version >0.178, systemtap can automatically download debugging information from debuginfod servers. You can try it by setting an environment variable or two:
export DEBUGINFOD_URLS=https://debuginfod.elfutils.org/
export DEBUGINFOD_PROGRESS=1
$HOME/.systemtapβ systemtap data directory for cached systemtap files, unless overridden by theSYSTEMTAP_DIRenvironment variable. π/tmp/stapXXXXXXβ temporary directory for systemtap files, including translated C code and kernel object. π₯/lib/modules/VERSION/buildβ the location of kernel module building infrastructure. β/usr/share/doc/systemtap*/examplesβ examples with greater detail can be found here. Each example comes with a.txtor.metafile explaining what the example, sample or demo does and how it is ordinarily run. See also online at:https://sourceware.org/systemtap/examples/π¦$SYSTEMTAP_DIR/ssl/serverβ userβs server-side SSL certificate database. IfSYSTEMTAP_DIRis not set, the default is$HOME/.systemtap. π$SYSTEMTAP_DIR/ssl/clientβ userβs private client-side SSL certificate database. IfSYSTEMTAP_DIRis not set, the default is$HOME/.systemtap. π/etc/systemtap/ssl/clientβ global client-side SSL certificate database. π/etc/systemtap/staprun/βstaprunβs trusted signer certificate database. π/etc/sysconfig/stap-serverβstap-serverservice global configuration file. β¨/etc/sysconfig/stap-exporterβstap-exporterservice global configuration file. π«Ά/var/run/stap-server/βstap-serverservice default location of status files for running servers. π/var/log/stap-server/logβstap-serverservice default log file. π
π SEE ALSO π
stapprobes(3stap)staprun(8)stapvars(3stap)stapex(3stap)stap-server(8)awk(1)gdb(1)http://sourceware.org/elfutils/Debuginfod.html
π BUGS π
Use the Bugzilla link of the project web page or our mailing list. http://sourceware.org/systemtap/,<systemtap@sourceware.org>. π
π signed off by the Systemtap Team β’ STAP(7) β’ systemtap 5.6 β’ the footer gives no date, so Iβm not making one up, bestie π
π¦ where this page comes from
- arch rolling: systemtap 5.6-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms