1.0.8.45: Fix sb-sprof on non-x86oids
authorJuho Snellman <jsnell@iki.fi>
Tue, 21 Aug 2007 06:15:07 +0000 (06:15 +0000)
committerJuho Snellman <jsnell@iki.fi>
Tue, 21 Aug 2007 06:15:07 +0000 (06:15 +0000)
         * Patch by Pierre Mai

NEWS
contrib/sb-sprof/sb-sprof.lisp
version.lisp-expr

diff --git a/NEWS b/NEWS
index cf05800..08610cb 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -36,6 +36,8 @@ changes in sbcl-1.0.9 relative to sbcl-1.0.8:
   * bug fix: EQUALP could return wrong results for structures with raw
     slots (slots with a :TYPE of SINGLE-FLOAT, DOUBLE-FLOAT, or a machine
     word). (reported by Vjacheslav Fyodorov)
+  * bug fix: sb-sprof sampling didn't work on non-x86oid platforms. (patch
+    by Pierre Mai)
 
 changes in sbcl-1.0.8 relative to sbcl-1.0.7:
   * enhancement: experimental macro SB-EXT:COMPARE-AND-SWAP provides
index d5a3678..b68c78b 100644 (file)
@@ -556,6 +556,7 @@ on the depth of the call stack.")
         (sb-sys:without-gcing
           (with-alien ((scp (* os-context-t) :local scp))
             (locally (declare (optimize (inhibit-warnings 2)))
+              (incf (samples-trace-count samples))
               (record-trace-start samples)
               (let* ((pc-ptr (sb-vm:context-pc scp))
                      (fp (sb-vm::context-register scp #.sb-vm::cfp-offset))
index f92ff4b..f49acd8 100644 (file)
@@ -17,4 +17,4 @@
 ;;; checkins which aren't released. (And occasionally for internal
 ;;; versions, especially for internal versions off the main CVS
 ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"1.0.8.44"
+"1.0.8.45"