Awesome DTrace

A curated list of awesome DTrace books, articles, videos, tools and resources.

Contents

Learn

Recommended reading for learning DTrace.

Books

Other

Articles

Interesting articles about DTrace and real-world use cases.

PID Provider

USDT provider

Understanding DTrace ustack helpers - DTrace ustack helpers.

USDT Providers Redux - Reference for building USDT providers in custom applications.

Sysevent provider

DTrace sysevent provider - Solaris/illumos sysevent provider for DTrace.

Ruby and DTrace

Using DTrace to measure mutex contention in Ruby - Mutex contention measuring in Ruby.

Visualization methods

Flamegraphs - A visualization of profiled software, allowing the most frequent code-paths to be identified quickly and accurately.

Heat Maps - Heat maps allow three dimensions of data to be visualized, similar to weather radar maps where color is used as a dimension.

Videos

Interesting videos about DTrace.

DTrace review - Bryan Cantrill explains how to significantly improve debugging both for development and live systems with DTrace.

dtrace.conf

Software

List of software with DTrace support.

Programming languages

Erlang

Erlang - DTrace and Erlang/OTP.

Lua

lua-usdt - Libusdt bindings for Lua.

Node.js

node-dtrace-provider - Native DTrace probes for Node.js apps.

Perl

perl-Devel-DTrace-Provider - Perl wrapper for libusdt.

PHP

PHP - Using PHP and DTrace.

Python

Python - DTrace patch for Python 2.7.x and 3.x.

python-usdt - Libusdt bindings for Python.

Ruby

Ruby - Ruby DTrace probes.

ruby-usdt - Native DTrace probes for ruby apps.

Databases

MySQL - MySQL DTrace probes.

PostgreSQL - PostgreSQL DTrace probes.

Webservers

Visualization

FlameGraph - Stack trace visualizer.

node-stackvis - Stack trace visualizer.

DTraceToolkit - A collection of useful documented DTrace scripts.

dtrace-cloud-tools - DTrace tools written for the SmartOS/SmartDataCenter cloud (illumos-based).

pgsql tools - Report top-level PostgreSQL stats.

portsnoop - Trace event port activity.

storage tools - Report NFS, CIFS and iSCSI stats.

Community

Contributing

Contributions are more than welcome! Please see contribution guidelines first.