]> sourceware.org Git - systemtap.git/commitdiff
2006-01-10 Martin Hunt <hunt@redhat.com>
authorhunt <hunt>
Tue, 10 Jan 2006 21:14:50 +0000 (21:14 +0000)
committerhunt <hunt>
Tue, 10 Jan 2006 21:14:50 +0000 (21:14 +0000)
* io.c (_stp_exit): set STAP_SESSION_STOPPING.

runtime/ChangeLog
runtime/io.c

index 07973c93aabe4de6684d48b8764432cc53257204..e99898067f70bd71625251830e35f8f005c6ce27 100644 (file)
@@ -1,3 +1,7 @@
+2006-01-10  Martin Hunt  <hunt@redhat.com>
+
+       * io.c (_stp_exit): set STAP_SESSION_STOPPING.
+
 2006-01-03  Frank Ch. Eigler  <fche@redhat.com>
 
        * io.c (_stp_softerror): New function.
index b72590f3aba46f0144ccfc18c66919b78a11006a..5c7a5f10e542c086810251872aebf3315d7f7b97 100644 (file)
@@ -116,6 +116,9 @@ void _stp_warn (const char *fmt, ...)
  */
 void _stp_exit (void)
 {
+#ifdef SYSTEMTAP
+       atomic_set (&session_state, STAP_SESSION_STOPPING);
+#endif
        _stp_exit_flag = 1;
 }
 
This page took 0.029364 seconds and 5 git commands to generate.