This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: [PATCH doc/langref.tex] Add error probe information
- From: Josh Stone <jistone at redhat dot com>
- To: Robb Romans <robb at linux dot vnet dot ibm dot com>
- Cc: systemtap at sources dot redhat dot com, Prerna Saxena <prerna at linux dot vnet dot ibm dot com>
- Date: Thu, 03 Sep 2009 16:43:48 -0700
- Subject: Re: [PATCH doc/langref.tex] Add error probe information
- References: <alpine.DEB.2.00.0909031715010.27388@skyhawk.austin.ibm.com>
On 09/03/2009 03:18 PM, Robb Romans wrote:
> +\subsubsection{error}
> +\index{error} The \emph{error} probe point is similar to the end
> +probe, except the probe handler runs when the session ends if an error
> +occurred. In this case, an \texttt{end} probe is skipped, but each
> +\texttt{error} probe is still attempted. You can use an
> +\texttt{error} probe to clean up or perform a final action on script
> +termination. You can also numerically parametrize an \texttt{error}
> +probe to set a sequence.
The meaning of the sequence isn't really clear until its described in
the next subsection for begin and end probes. Perhaps the error
sequence should be moved into that discussion?
Thanks,
Josh