Discussion:
DTrace source code
Manjula
2010-09-14 01:50:49 UTC
Permalink
Does anybody know the location to download DTrace Source code ? Is it coming with OpenSolaris source ? If it is the case from where can I download the it ?

Your help is greatly appreciated.
--
This message posted from opensolaris.org
James C. McPherson
2010-09-14 01:53:57 UTC
Permalink
Post by Manjula
Does anybody know the location to download DTrace Source code ?
Is it coming with OpenSolaris source ? If it is the case from where can I download the it ?
It's been part of OpenSolaris for years.

http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/cmd/dtrace/
will get you started.


James C. McPherson
--
Oracle
http://www.jmcp.homeunix.com/blog
Katsunori FUJIWARA
2010-09-14 04:26:32 UTC
Permalink
Post by Manjula
Post by Manjula
Does anybody know the location to download DTrace
Source code ?
Post by Manjula
Is it coming with OpenSolaris source ? If it is the
case from where can I download the it ?
It's been part of OpenSolaris for years.
http://src.opensolaris.org/source/xref/onnv/onnv-gate/
usr/src/cmd/dtrace/
will get you started.
In fact, almost all core DTrace works are not
implemented in usr/src/cmd/dtrace.

if you want to know detail about
parsing D script and so on, you should read
source files of libdtrace.

http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/libdtrace

In addition to it, if you want to know detail about
execution of D script in kernel space,
you should read source files of dtrace kernel module.

http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/dtrace
--
This message posted from opensolaris.org
Loading...