DTrace first became available for use in November 2003, and was formally released as part of Sun's
Solaris 10 in January 2005. DTrace was the first component of the
OpenSolaris project to have its source code released under the
Common Development and Distribution License (CDDL). DTrace is an integral part of
illumos and related distributions. DTrace is a standard part of FreeBSD and
NetBSD. Apple added DTrace support in
Mac OS X 10.5 "Leopard", including a GUI called
Instruments. Over 40 DTrace scripts from the DTraceToolkit are included in /usr/bin, including tools to examine disk I/O (iosnoop) and process execution (execsnoop). Unlike other platforms that DTrace is supported on, Mac OS X has a flag (P_LNOATTACH) that a program may set that disallows tracing of that process by debugging utilities such as DTrace and
gdb. In the original Mac OS X DTrace implementation, this could affect tracing of other system information, as unrelated probes that should fire while a program with this flag set was running would fail to do so. The OS X 10.5.3 update addressed this issue a few months later. However, since El Capitan,
System Integrity Protection prevents user from DTracing protected binary by default. The
Linux port of DTrace has been available since 2008; work continues actively to enhance and fix issues. There is also an active implementation on github. Standard core providers are available (fbt, syscall, profile), plus a special "instr" provider (some of the Solaris providers are not yet available ). The Linux DTrace implementation is a loadable
kernel module, which means that the kernel itself requires no modification, and thus allows DTrace to avoid CDDL vs. GPL licensing conflicts (in its source form, at least). However, once DTrace is loaded the kernel instance will be marked as
tainted. In 2007, a developer at QNX Software Systems announced on his blog that he and a colleague were working on incorporating DTrace into the
QNX operating system. Oracle Corporation added beta DTrace support for
Oracle Linux in 2011, General availability was announced in December 2012. On March 11, 2019, Microsoft released a version of DTrace for Windows 10 insider builds. Microsoft included DTrace as a built-in tool in
Windows Server 2025. == Language and application providers ==