X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=contrib%2Fsb-sprof%2Fsb-sprof.lisp;h=a6e461cc9a34450d234b940040f43a1ba1fdaf98;hb=a8a79584f77a1ca0b1f651c27d219678e44c3f4d;hp=d5a367893c3481c11f6189c23656420b09de3eb6;hpb=355e6c09a8f7f528a838f7a50b99ad77811b51a2;p=sbcl.git diff --git a/contrib/sb-sprof/sb-sprof.lisp b/contrib/sb-sprof/sb-sprof.lisp index d5a3678..a6e461c 100644 --- a/contrib/sb-sprof/sb-sprof.lisp +++ b/contrib/sb-sprof/sb-sprof.lisp @@ -345,7 +345,7 @@ profiling") (defvar *alloc-region-size* #-gencgc - 4096 + (get-page-size) ;; This hardcoded 2 matches the one in gc_find_freeish_pages. It's not ;; really worth genesifying. #+gencgc @@ -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))