On Wed, 2006-12-27 at 17:07 +0200, Cyril Plisko wrote:
> Wouldn't it be beneficial for the kernel to have some
> sort of generic DPRINTF/dprintf functionality, available to all
> the components ?
Absolutely.
> IMHO, besides overall cleanness it will
> also allow developers to concentrate on their specific tasks
> instead of re-inventing the wheel again and again.
>
> May be there is something similar on the way already ?
I'm not aware of any work in progress. Go for it;
I bet if you do a survey of the debug macros you can come up with
something which is a superset of all of them (and make it less likely
that someone will need to reinvent this wheel again..).
Bonus points if it plays well with dtrace and mdb.
- Bill
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code