From 9a604face6354d63a3948a08e85613168a9dfb88 Mon Sep 17 00:00:00 2001 From: fche Date: Tue, 3 Jan 2006 22:33:53 +0000 Subject: 2006-01-03 Frank Ch. Eigler 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 * io.c (_stp_softerror): New function. 2006-01-03 Frank Ch. Eigler * systemtap.base/timers.exp: Extend the test run duration. Accept skipped probe warnings at shutdown. --- stapfuncs.5.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'stapfuncs.5.in') 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 () -- cgit