projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1.0.9.30: Make SBCL work on MIPS/Linux with larger page sizes.
[sbcl.git]
/
contrib
/
sb-sprof
/
sb-sprof.lisp
diff --git
a/contrib/sb-sprof/sb-sprof.lisp
b/contrib/sb-sprof/sb-sprof.lisp
index
d5a3678
..
a6e461c
100644
(file)
--- a/
contrib/sb-sprof/sb-sprof.lisp
+++ b/
contrib/sb-sprof/sb-sprof.lisp
@@
-345,7
+345,7
@@
profiling")
(defvar *alloc-region-size*
#-gencgc
(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
;; 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)))
(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))
(record-trace-start samples)
(let* ((pc-ptr (sb-vm:context-pc scp))
(fp (sb-vm::context-register scp #.sb-vm::cfp-offset))