]> sourceware.org Git - systemtap.git/commitdiff
2005-11-30 Martin Hunt <hunt@redhat.com>
authorhunt <hunt>
Wed, 30 Nov 2005 08:39:03 +0000 (08:39 +0000)
committerhunt <hunt>
Wed, 30 Nov 2005 08:39:03 +0000 (08:39 +0000)
* io.c (_stp_exit): To prevent any possible interactions
with the probed function, just set a flag here.

runtime/ChangeLog
runtime/io.c

index f05012caf111406da89c3d7b571cbb7651e3c230..e647f0b8c40f0f2ed90de2a2eaf746a84e27f999 100644 (file)
@@ -1,3 +1,8 @@
+2005-11-30  Martin Hunt  <hunt@redhat.com>
+
+       * io.c (_stp_exit): To prevent any possible interactions
+       with the probed function, just set a flag here.
+
 2005-11-28  Graydon Hoare  <graydon@redhat.com>
 
        * stat-common.c (_stp_stat_print_histogram): Various formatting
index dd4a90363d4a86503689916ea4e542de18515172..cf17895155fb4fb50ae13f18f4919de96bf7c263 100644 (file)
@@ -116,7 +116,7 @@ void _stp_warn (const char *fmt, ...)
  */
 void _stp_exit (void)
 {
-       schedule_work (&stp_exit);
+       _stp_exit_flag = 1;
 }
 
 /** Prints error message and exits.
This page took 0.028853 seconds and 5 git commands to generate.