diff options
author | fche <fche> | 2006-01-03 22:33:53 +0000 |
---|---|---|
committer | fche <fche> | 2006-01-03 22:33:53 +0000 |
commit | 9a604face6354d63a3948a08e85613168a9dfb88 (patch) | |
tree | 3b4f269604baebeb2da9c84e973bed06202bd980 /stapfuncs.5.in | |
parent | f256184bbdab4cf63c5ad8917e5b8a31de497fb9 (diff) | |
download | systemtap-steved-9a604face6354d63a3948a08e85613168a9dfb88.tar.gz systemtap-steved-9a604face6354d63a3948a08e85613168a9dfb88.tar.xz systemtap-steved-9a604face6354d63a3948a08e85613168a9dfb88.zip |
2006-01-03 Frank Ch. Eigler <fche@redhat.com>
PR 1144, 1379
* tapsets.cxx (emit_probe_prologue, _epilogue): New routines.
Call from existing derived_probe spots. Implement soft errors in
epilogue code. Implement reentrancy detection in prologue code.
(dwarf_derived_probe::emit_deregistration): Add kprobes layer
"nmissed" to skipped_count.
* translate.cxx (varlock): Use nsleep(TRYLOCKDELAY) in lock
contention loop.
(emit_module_exit): Report number of soft errors and skipped probes.
(emit_function, _probe): Add __restrict__ marker to context pointer.
(translate_pass): Define new MAXTRYLOCK, TRYLOCKDELAY, MAXERRORS,
MAXSKIPPED parameters.
* tapset/logging.stp (error): Don't stp_error, just set context state.
* stap.1.in, stapfuncs.5.in: Document soft errors.
* elaborate.h: Corresponding changes.
2006-01-03 Frank Ch. Eigler <fche@redhat.com>
* io.c (_stp_softerror): New function.
2006-01-03 Frank Ch. Eigler <fche@redhat.com>
* systemtap.base/timers.exp: Extend the test run duration.
Accept skipped probe warnings at shutdown.
Diffstat (limited to 'stapfuncs.5.in')
-rw-r--r-- | stapfuncs.5.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/stapfuncs.5.in b/stapfuncs.5.in index 806a0906..56d6aed5 100644 --- a/stapfuncs.5.in +++ b/stapfuncs.5.in @@ -48,13 +48,13 @@ prepends the string "WARNING:". .TP error:unknown (msg:string) -A fatal error has occurred. Log the given string to the error stream. +An error has occurred. Log the given string to the error stream. Append an implicit end-of-line. .I stpd prepends the string "ERROR:". -Block any further execution of statements in this probe, block -any new probe handlers, and end the systemtap session as soon -as possible. +Block any further execution of statements in this probe. If the number +of errors so far exceeds the MAXERRORS parameter, also trigger an +.IR exit() . .TP exit:unknown () |