markj@ has code for zero cost probes for SDT but has found that though it is better than the current implementation it is not so much better that he's rushing to put it into the tree. It will go in eventually though. There are problems with making this work on non-Solaris systems because Solaris had a relocatable kernel but the rest of the
OS's do not. Mac
OS does this with special naming. The Mac
OS changes are in the
OS code drops which are now in OpenDTrace and markj@ will go take a look at that as well. What we'd like is an LLVM intrinsic that handles making a bit in the code patchable.