From: Andy Hefner <ahefner@gm...> - 2008-01-06 00:34:45
The following patch prevents sb-sprof:report from erring when called
immediately after sb-sprof:reset:
--- sb-sprof.lisp 4 Oct 2007 23:01:57 -0000 1.22
+++ sb-sprof.lisp 6 Jan 2008 00:31:07 -0000
@@ -818,6 +818,8 @@
;;; Value is a CALL-GRAPH for the current contents of *SAMPLES*.
(defun make-call-graph-1 (max-depth)
+ (unless *samples*
+ (setf *samples* (make-samples :mode :cpu)))
(let ((elsewhere-count 0)
On 1/6/08, Andy Hefner <ahefner@...> wrote:
> The following patch prevents sb-sprof:report from erring when called
> immediately after sb-sprof:reset:
Thank you! I elected to fix this in REPORT instead, though -- in 220.127.116.11.
Get latest updates about Open Source Projects, Conferences and News.