1 Star2 Stars3 Stars4 Stars5 Stars (还没有评分)
Loading...

从哪里获得DTrace的源码包?

昨天看到Adam发的推特:“hoping for DTrace in the next Red Star OS update!”,我就在想:如果想把DTrace移植到一个新的操作系统上,从哪里获得DTrace的源码包呢?现在Mac OS XFreeBSD都有DTrace了,难道从这些系统上fork出来DTrace的代码?

我发了一封邮件给社区,很快就收到了Robert Mustacchi的回复:从illumos代码库(https://github.com/illumos/illumos-gate)可以得到所有DTrace的代码(包含一些增强的功能),此外DTrace是遵守CDDL协议的。

我很好奇为什么不为DTrace单独建一个代码库,对此Adam的回复是“DTrace isn't an application and actually needs to be integrated into an operating system. We could have an independent repository but the broader illumos context serves as a reference architecture.”。我的理解是他认为DTrace不是一个应用程序,现在这样的代码组织可以更方便大家学习和参考DTrace的实现。

参考邮件:http://www.listbox.com/member/archive/184261/2015/01/sort/time_rev/page/1/entry/0:4/20150113210357:94CBC0C6-9B91-11E4-99C0-BBEB105EC9F4/

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.