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

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@mail.math.uni-magdeburg.de Inst. f. Mathemat. Optim. utz@uuhaus.de Uni Magdeburg PGP keys 1024/6AD23BE1 and 2048/5D0B72A1 GERMANY available via keyservers or email request
participants (2)
-
Helmut Eller
-
Utz-Uwe Haus