1STAP(7) Miscellaneous Information Manual STAP(7)
2
3
4
6 stappaths - systemtap configurable file paths
7
8
9
10
12 This manual page was generated for systemtap 4.2. The following sec‐
13 tion will list the main paths in systemtap that are important to know
14 and may be required to reference.
15
16 /usr/share/systemtap/tapset/
17 The directory for the standard probe-alias / function tapset
18 library, unless overridden by the SYSTEMTAP_TAPSET environment
19 variable or the XDG_DATA_DIRS environment variable. These are
20 described in the stapprobes(3stap), probe::*[24m(3stap), and func‐
21 tion::*[24m(3stap) manual pages.
22
23 /usr/share/systemtap/runtime/
24 The runtime sources, unless overridden by the SYSTEMTAP_RUNTIME
25 environment variable.
26
27 /usr/bin/staprun
28 The auxiliary program supervising module loading, interaction,
29 and unloading.
30
31 /etc/stap-exporter
32 The default directory to search for *.stp files, for exporting
33 to HTTP.
34
35 /usr/libexec/systemtap/stapio
36 The auxiliary program for module input and output handling.
37
38 /usr/include/sys/sdt.h
39 Location of the <sys/sdt.h> headers.
40
41 Kernel debuginfo Path: /usr/lib/debug/lib/modules/$(uname -r)/
42 The location of kernel debugging information when packaged into
43 the kernel-debuginfo RPM, unless overridden by the SYSTEM‐
44 TAP_DEBUGINFO_PATH environment variable. The default value for
45 this variable is +:.debug:/usr/lib/debug:build. elfutils
46 searches vmlinux in this path and it interprets the path as a
47 base directory of which various subdirectories will be searched
48 for finding debuginfo for the kernel, kernel modules, and user-
49 space binaries. By default, systemtap will also look for
50 vmlinux in these locations:
51
52 /boot/vmlinux-`uname -r`
53 /lib/modules/`uname -r`/vmlinux
54 /lib/modules/`uname -r`/vmlinux.debug
55 /lib/modules/`uname -r`/build/vmlinux
56 /lib/modules/`uname -r`/.debug/vmlinux.debug
57 /usr/lib/debug/lib/modules/`uname -r`/vmlinux.debug
58 /var/cache/abrt-di/usr/debug/lib/modules/`uname -r`/
59 /var/cache/abrt-di/usr/lib/debug/lib/modules/`uname -r`/vmlinux.debug
60
61 Corresponding source files are usually located under
62 /usr/src/debug/. Further file information on user-space appli‐
63 cations can be determined per-basis using rpm -ql <package>-de‐
64 buginfo. For supported user-space applications information
65 please visit the systemtap wiki.
66
67 $HOME/.systemtap
68 Systemtap data directory for cached systemtap files, unless
69 overridden by the SYSTEMTAP_DIR environment variable.
70
71 /tmp/stapXXXXXX
72 Temporary directory for systemtap files, including translated C
73 code and kernel object.
74
75 /lib/modules/VERSION/build
76 The location of kernel module building infrastructure.
77
78 /usr/share/doc/systemtap*/examples
79 Examples with greater detail can be found here. Each example
80 comes with a .txt or .meta file explaining wha