Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
DTrace
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Supported platforms == DTrace first became available for use in November 2003, and was formally released as part of Sun's [[Solaris (operating system)|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<ref>{{cite web | url=http://www.freebsd.org/releases/7.1R/announce.html | title=FreeBSD 7.1-RELEASE Announcement |date=2009-01-06 | access-date=2009-01-06}}</ref> and [[NetBSD]].<ref>{{cite web | url=http://mail-index.netbsd.org/source-changes/2010/02/21/msg006855.html | title=NetBSD source changes, 21 February 2010}}</ref> Apple added DTrace support in [[Mac OS X 10.5]] "Leopard", including a GUI called [[Instruments (application)|Instruments]].<ref>{{cite web |url=https://www.apple.com/macosx/developertools/instruments.html |title=Mac OS X Leopard - Developer Tools - Instruments |publisher=[[Apple Inc.]] |access-date=2007-10-19 |archive-url=https://web.archive.org/web/20071024144916/http://www.apple.com/macosx/developertools/instruments.html |archive-date=2007-10-24 |url-status=dead }}</ref> Over 40 DTrace scripts from the DTraceToolkit are included in /usr/bin,<ref>{{cite web | url = https://opensource.apple.com/source/dtrace/ | title = Mac OS X DTrace | publisher = [[Apple Inc.]] | access-date=2010-05-31 }}</ref> 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.<ref>{{cite web | url = http://dtrace.org/blogs/ahl/2008/01/18/mac-os-x-and-the-missing-probes/ | title = Mac OS X and the missing probes | publisher = Leventhal, Adam H. | date = January 18, 2008 | access-date = 2008-01-20 }}</ref> The OS X 10.5.3 update addressed this issue a few months later.<ref>{{cite web | url = http://dtrace.org/blogs/ahl/2008/06/07/apple-updates-dtrace/ | title = Apple Updates DTrace | publisher = Leventhal, Adam H. | date = June 7, 2008 | access-date = 2008-06-16 }}</ref> 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;<ref>{{cite web | url = http://www.crisp.demon.co.uk/tools.html | title = CRiSP tools download page. | access-date = 2011-03-02 | archive-date = 2020-11-16 | archive-url = https://web.archive.org/web/20201116162408/http://www.crisp.demon.co.uk/tools.html | url-status = dead }}</ref> work continues actively to enhance and fix issues. There is also an active [https://github.com/dtrace4linux/linux 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 {{as of | 2013| lc = on}}). 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 [[Loadable kernel module#License issues|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.<ref>{{cite web|url=https://blogs.oracle.com/bmc/entry/dtrace_on_qnx|title=DTrace on QNX!|website=Oracle The Observation Deck Blog|date=November 8, 2007}}</ref> Oracle Corporation added beta DTrace support for [[Oracle Linux]] in 2011,<ref name=coekaerts/> as a technology preview in the [[Oracle Linux#RHEL compatibility|Unbreakable Enterprise Kernel]] release 2, which is under GPLv2 (the DTrace Linux kernel module was originally released under CDDL).<ref>{{cite conference|url=https://events.linuxfoundation.org/images/stories/pdf/lfcs2012_zannoni_hees.pdf|title=DTrace on Linux|first1=Elena|last1=Zannoni|first2=Kris|last2=Van Hees|conference=Linux Foundation Collaboration Summit|year=2012|access-date=2012-04-05|archive-url=https://web.archive.org/web/20140707205640/https://events.linuxfoundation.org/images/stories/pdf/lfcs2012_zannoni_hees.pdf|archive-date=2014-07-07|url-status=dead}}</ref> General availability was announced in December 2012.<ref>{{cite web|url=https://blogs.oracle.com/linux/entry/announcement_dtrace_for_oracle_linux|title=Announcement: DTrace for Oracle Linux General Availability|website=Oracle Linux Blog|date=December 12, 2012|first=Zeynep|last=Koch}}</ref><ref>[https://web.archive.org/web/20190913144624/https://oss.oracle.com/git/?p=dtrace-modules.git DTrace module source code for Linux]</ref> On March 11, 2019, Microsoft released a version of DTrace for Windows 10 insider builds.<ref>{{cite web|url=https://techcommunity.microsoft.com/t5/Windows-Kernel-Internals/DTrace-on-Windows/ba-p/362902|title=DTrace on Windows|website=Microsoft Tech Community|date=March 11, 2019|first=Hari|last=Pulapaka}}</ref> Microsoft included DTrace as a built-in tool in [[Windows Server 2025]].<ref>{{Cite web |last= |date=2024-04-19 |title=DTrace |url=https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/dtrace |access-date=2024-11-07 |website=Microsoft Learn |language=en-us}}</ref><ref>{{Cite web |last=Gatlan |first=Sergiu |date=2024-11-04 |title=Windows Server 2025 released—here are the new features |url=https://www.bleepingcomputer.com/news/microsoft/windows-server-2025-released-here-are-the-new-features/ |url-status=live |archive-url=https://web.archive.org/web/20241105062437/https://www.bleepingcomputer.com/news/microsoft/windows-server-2025-released-here-are-the-new-features/ |archive-date=2024-11-05 |access-date=2024-11-07 |website=[[BleepingComputer]] |language=en-us}}</ref>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)