* new feature: SB-EXT:*EXIT-HOOKS* are called when the process exits
(see documentation for details.)
* revived support for OpenBSD (contributed by Josh Elsasser)
+ * bug fix: SB-SPROF:REPORT no longer signals an error if there are
+ no samples. (reported by Andy Hefner)
* bug fix: functions compiled using (COMPILE NIL '(LAMBDA ...))
no longer appear as (NIL ...) frames in backtraces.
* bug fix: ROOM no longer suffers from occasional (AVER (SAP=
Print a report from <graph> instead of the latest profiling
results.
- Value of this function is a CALL-GRAPH object representing the
- resulting call-graph."
- (let ((graph (or call-graph (make-call-graph most-positive-fixnum))))
- (ecase type
- (:flat
- (print-flat graph :stream stream :max max :min-percent min-percent))
- (:graph
- (print-graph graph :stream stream :max max :min-percent min-percent))
- ((nil)))
- graph))
+Value of this function is a CALL-GRAPH object representing the
+resulting call-graph, or NIL if there are no samples (eg. right after
+calling RESET.)"
+ (cond (*samples*
+ (let ((graph (or call-graph (make-call-graph most-positive-fixnum))))
+ (ecase type
+ (:flat
+ (print-flat graph :stream stream :max max :min-percent min-percent))
+ (:graph
+ (print-graph graph :stream stream :max max :min-percent min-percent))
+ ((nil)))
+ graph))
+ (t
+ (format stream "~&; No samples to report.~%")
+ nil)))
;;; Interface to DISASSEMBLE
;;; checkins which aren't released. (And occasionally for internal
;;; versions, especially for internal versions off the main CVS
;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"1.0.13.40"
+"1.0.13.41"