summaryrefslogtreecommitdiffstats
path: root/tapset/logging.stp
diff options
context:
space:
mode:
authorfche <fche>2006-01-15 17:26:18 +0000
committerfche <fche>2006-01-15 17:26:18 +0000
commit315b86df3e95c631b678d98b5d0ca7a380f1fed4 (patch)
tree3896e5c0aae285f45f04796c27dcc2a3e952dcae /tapset/logging.stp
parent2cfb0e462faa1bbfe585cdddc46ae70c1650cb58 (diff)
downloadsystemtap-steved-315b86df3e95c631b678d98b5d0ca7a380f1fed4.tar.gz
systemtap-steved-315b86df3e95c631b678d98b5d0ca7a380f1fed4.tar.xz
systemtap-steved-315b86df3e95c631b678d98b5d0ca7a380f1fed4.zip
2006-01-15 Frank Ch. Eigler <fche@elastic.org>
PR 2148 * translate.cxx (MAXERRORS): Actually the max should be 0, so first error aborts session. * Revert last stp_exit change.
Diffstat (limited to 'tapset/logging.stp')
-rw-r--r--tapset/logging.stp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tapset/logging.stp b/tapset/logging.stp
index 1164244f..c9c60c8d 100644
--- a/tapset/logging.stp
+++ b/tapset/logging.stp
@@ -21,6 +21,7 @@ function warn (msg:string) %{
// NB: exit() does *not* cause immediate return from current function/probe
function exit () %{
+ atomic_set (&session_state, STAP_SESSION_STOPPING);
_stp_exit ();
%}