of ktr slots used. If 'depth' is equal to 0, the whole stack will be logged, just like before.
and KTR. Contributed by: Antoine Brodin <antoine.brodin@laposte.net> Concept code from: Neal Fachan <neal@isilon.com>