DTrace on FreeBSD
FreeBSD includes a substantial port of DTrace: an advanced event-based performance analysis and troubleshooting tool. DTrace can help you identify and quantify the root cause of virtually any performance issue, in both user-level and kernel code. It can be executed using custom and powerful one-liners and scripts.
Getting Started
See Also
Ongoing Development and Meeting Notes
Ideas and new work are kept in the DTraceTODO.
External Resources
- The Dynamic Tracing Guide (aka DTrace Guide) is the language and provider reference. Currently focuses on illumos DTrace.
- Oracle's DTrace User Guide and Solaris Dynamic Tracing Guide for Oracle Solaris 11.
- FreeBSD Handbook section on DTrace: https://docs.freebsd.org/en/books/handbook/dtrace/
- The website, which includes scripts, for the Prentice Hall 2011 book: DTrace: Dynamic Tracing in Oracle Solaris, Mac OS X, and FreeBSD
- USENIX 2004 paper on DTrace: Dynamic Instrumentation of Production Systems
- ACM Queue 2006 article: Hidden in Plain Sight
- DTrace Review in Google tech talks (2007)
- jb@'s 2008 BSDCan presentation: dtrace_bsdcan2008_jb.pdf