Thursday, December 28, 2006

The era of DTrace

The kernel debug printf thread discussed recently on opensolaris-code forum raised interesting things. Inspired by Mike Shapiro mail I started to rework all my DEBUG cmn_err() in the Bluetooth prototype into DTRACE_PROBEn() calls. At some point I realized that there is no need for DTRACE_PROBEn() calls at all. Exactly like Mike suggested - all the necessary data processing can and should be done externally in the accompanying D-script. I have to admit it was quite a revelation for me. I think only now I start to comprehend the real power of DTrace and I am sure there will be more plesant surprises on the way.

So, good bye cmn_err() - you served me well, but it is a new era of DTrace !


Technorati Tags: , ,

Monday, December 18, 2006

Which repositories are there ?

opensolaris.org lets [OpenSolaris] projects host their repository there. However, there is no easy way to find out which repositories are there. Unless, ofcourse, project leaders announce the repo to some mailing list or so. There is, nonetheless, another way to find all of them - visit root of the OpenSolaris source browser site - it will show you what they've got there in all gory details.



Technorati Tags:



powered by performancing firefox