From 315b86df3e95c631b678d98b5d0ca7a380f1fed4 Mon Sep 17 00:00:00 2001 From: fche Date: Sun, 15 Jan 2006 17:26:18 +0000 Subject: 2006-01-15 Frank Ch. Eigler PR 2148 * translate.cxx (MAXERRORS): Actually the max should be 0, so first error aborts session. * Revert last stp_exit change. --- tapset/logging.stp | 1 + 1 file changed, 1 insertion(+) (limited to 'tapset/logging.stp') 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 (); %} -- cgit