summaryrefslogtreecommitdiffstats
path: root/tapset/logging.stp
diff options
context:
space:
mode:
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 ();
%}