1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159
|
.\" -*- nroff -*-
.TH STAP 7 "Systemtap Team"
.SH NAME
stappaths \- systemtap configurable file paths
.\" macros
.de SAMPLE
.br
.RS
.nf
..
.de ESAMPLE
.hy
.fi
.RE
..
.SH DESCRIPTION
This manual page was generated for systemtap @VERSION@.
The following section will list the main paths in systemtap that are
important to know and may be required to reference.
.TP
@prefix@/share/systemtap/tapset/
The directory for the standard probe-alias / function tapset library,
unless overridden by the
.I SYSTEMTAP_TAPSET
environment variable or the
.I XDG_DATA_DIRS
environment variable.
These are described in the
.IR stapprobes (3stap),
.IR probe::* (3stap),
and
.IR function::* (3stap)
manual pages.
.TP
@prefix@/share/systemtap/runtime/
The runtime sources, unless overridden by the
.I SYSTEMTAP_RUNTIME
environment variable.
.TP
@prefix@/bin/staprun
The auxiliary program supervising module loading, interaction, and
unloading.
.TP
@sysconfdir@/stap\-exporter
The default directory to search for \fB*.stp\fR files, for exporting to HTTP.
.TP
@libexecdir@/systemtap/stapio
The auxiliary program for module input and output handling.
.TP
@oldincludedir@/sys/sdt.h
Location of the <sys/sdt.h> headers.
.TP
Kernel debuginfo Path: /usr/lib/debug/lib/modules/$(uname \-r)/
The location of kernel debugging information when packaged into the
.IR kernel\-debuginfo
RPM, unless overridden by the
.I SYSTEMTAP_DEBUGINFO_PATH
environment variable. The default value for this variable is
.IR \+:.debug:/usr/lib/debug:build .
elfutils searches vmlinux in 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 for vmlinux in these locations:
.SAMPLE
/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
.PP
.ESAMPLE
.IP
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:
.SAMPLE
export DEBUGINFOD_URLS=https://debuginfod.elfutils.org/
export DEBUGINFOD_PROGRESS=1
.ESAMPLE
.TP
$HOME/.systemtap
Systemtap data directory for cached systemtap files, unless overridden
by the
.I SYSTEMTAP_DIR
environment variable.
.TP
/tmp/stapXXXXXX
Temporary directory for systemtap files, including translated C code
and kernel object.
.TP
/lib/modules/VERSION/build
The location of kernel module building infrastructure.
.TP
@prefix@/share/doc/systemtap*/examples
Examples with greater detail can be found here. Each example comes with a .txt
or .meta file explaining what the example, sample or demo does and how it is
ordinarily run. See also online at:
.nh
.IR https://sourceware.org/systemtap/examples/
.hy
.TP
$SYSTEMTAP_DIR/ssl/server
User's server-side SSL certificate database. If SYSTEMTAP_DIR is not
set, the default is $HOME/.systemtap.
.TP
$SYSTEMTAP_DIR/ssl/client
User's private client-side SSL certificate database. If SYSTEMTAP_DIR is not
set, the default is $HOME/.systemtap.
.TP
@sysconfdir@/systemtap/ssl/client
Global client-side SSL certificate database.
.TP
@sysconfdir@/systemtap/staprun/
\fIstaprun\fR\[aq]s trusted signer certificate database.
.TP
@sysconfdir@/sysconfig/stap\-server
stap\-server service global configuration file.
.TP
@sysconfdir@/sysconfig/stap\-exporter
stap\-exporter service global configuration file.
.TP
@localstatedir@/run/stap\-server/
stap\-server service default location of status files for running servers.
.TP
@localstatedir@/log/stap\-server/log
stap\-server service default log file.
.SH SEE ALSO
.nh
.nf
.IR stapprobes (3stap),
.IR staprun (8),
.IR stapvars (3stap),
.IR stapex (3stap),
.IR stap\-server (8),
.IR awk (1),
.IR gdb (1)
.IR \%http://sourceware.org/elfutils/Debuginfod.html
.SH BUGS
Use the Bugzilla link of the project web page or our mailing list.
.nh
.BR http://sourceware.org/systemtap/ , <systemtap@sourceware.org> .
.hy
|