summaryrefslogtreecommitdiffstats
path: root/stap.1.in
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2009-09-15 10:45:00 -0400
committerFrank Ch. Eigler <fche@elastic.org>2009-09-15 10:45:00 -0400
commit7f925ed90dcf39d60213a5120a20d2ea08b2f2ea (patch)
tree56b1bceaf8e6114548499dcc49f018ae4a01299a /stap.1.in
parent4ab2af3637026550ec28b95e287c6f2f2fc44ac7 (diff)
downloadsystemtap-steved-7f925ed90dcf39d60213a5120a20d2ea08b2f2ea.tar.gz
systemtap-steved-7f925ed90dcf39d60213a5120a20d2ea08b2f2ea.tar.xz
systemtap-steved-7f925ed90dcf39d60213a5120a20d2ea08b2f2ea.zip
docs: add abnormal termination section to PROCESSING
Diffstat (limited to 'stap.1.in')
-rw-r--r--stap.1.in13
1 files changed, 11 insertions, 2 deletions
diff --git a/stap.1.in b/stap.1.in
index 3ac1c398..e6370dfc 100644
--- a/stap.1.in
+++ b/stap.1.in
@@ -971,11 +971,20 @@ kernel into temporary files, until the user sends an interrupt signal.
Any run-time error encountered by the probe handlers, such as running
out of memory, division by zero, exceeding nesting or runtime limits,
results in a soft error indication. Soft errors in excess of
-MAXERRORS block of all subsequent probes, and terminate the session.
-Finally,
+MAXERRORS block of all subsequent probes (except error-handling
+probes), and terminate the session. Finally,
.I staprun
unloads the module, and cleans up.
+.SS ABNORMAL TERMINATION
+
+One should avoid killing the stap process forcibly, for example with
+SIGKILL, because the stapio process (a child process of the stap
+process) and the loaded module may be left running on the system. If
+this happens, send SIGTERM or SIGINT to any remaining stapio
+processes, then use rmmod to unload the systemtap module.
+
+
.SH EXAMPLES
See the
.IR stapex (3stap)