Subject: Re: diagnostic routines
To: None <>
From: Jeff Rizzo <>
List: tech-kern
Date: 11/24/2004 10:15:01
Jachym Holecek wrote:

>>And then corresponding functions in libkern to actually dump the
>>memory or mbuf (or whatever) that would be pulled in only if
>>DEBUG is defined.
>>The intent for drivers or whatever who want to use these routines
>>is that they would only really call the functions in cases where
>>DEBUG is defined and some specific debugging is enabled.
>Having standard debug dumpers would surely save some work... apart from
>raw mem, mbuf and such; version for bus_dmamap_t/bus_dma_segment_t would
>be useful, too.
>	-- Jachym Holecek
Hear, hear!  I agree that this would be a useful addition.