>While browsing sources under usr/src/uts I noticed that many >modules are reimplementing some sort of debug printf-like >functionality all over again. In many cases it looks like one >framework copying the defines from the other changing only >a prefix. Wouldn't it be beneficial for the kernel to have some >sort of generic DPRINTF/dprintf functionality, available to all >the components ? 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 ? All these printf like features should all be deprecated and moved the DTrace probe points using the SDT provider. (Pretty much everything predates it) Casper _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
