[slime-devel] profile-package implementation for sbcl [patch included]

Utz-Uwe Haus haus+slime at mail.math.uni-magdeburg.de
Mon Jan 10 13:02:17 UTC 2005


Hi,

I found that the current swank-sbcl.el is missing an implementation for
the profile-package functionality. The following code works for me.

Later
Utz


(unfortunately c&p, so please ignore any whitespace troubles in the
patch)

diff -u -r1.115 swank-sbcl.lisp
--- swank-sbcl.lisp     29 Nov 2004 17:35:03 -0000      1.115
+++ swank-sbcl.lisp     7 Jan 2005 09:04:58 -0000
@@ -647,6 +647,11 @@
 (defimplementation profiled-functions ()
   (sb-profile:profile))

+(defimplementation profile-package (package callers methods)
+  (declare (ignore callers methods))
+  (eval `(sb-profile:profile ,(package-name (find-package
+  package)))))
+
+

;;;; Inspector
        

-- 
Utz-Uwe Haus                               haus at mail.math.uni-magdeburg.de
Inst. f. Mathemat. Optim.                                    utz at uuhaus.de
Uni Magdeburg                    PGP keys  1024/6AD23BE1 and 2048/5D0B72A1
GERMANY                          available via keyservers or email request 



More information about the slime-devel mailing list