diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2009-09-15 10:45:00 -0400 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2009-09-15 10:45:00 -0400 |
commit | 7f925ed90dcf39d60213a5120a20d2ea08b2f2ea (patch) | |
tree | 56b1bceaf8e6114548499dcc49f018ae4a01299a /stap.1.in | |
parent | 4ab2af3637026550ec28b95e287c6f2f2fc44ac7 (diff) | |
download | systemtap-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.in | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -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) |