Oracle Releases DTrace 2.0.0-1.14 For Linux Systems

Written by Michael Larabel in Oracle on 8 April 2024 at 06:48 AM EDT. 11 Comments
ORACLE
DTrace used to be one of the Solaris features long sought after by Linux developers but over time the Linux kernel tracing capabilities have improved and Oracle has been supporting DTrace on Linux now for years without too much fanfare. DTrace 2.0.0-1.14 was released this past week as the latest iteration of this user-space implementation that builds off the Linux kernel tracing functionality like BPF.

It's been a decade now that Oracle has been working on DTrace for Linux albeit with time Linux's native tracing abilities have improved and with DTrace 2.0 now confined to just a standalone user-space application leveraging the kernel's native capabilities.

OpenSolaris
Bringing back the OpenSolaris memories from the Sun days...


With the new DTrace 2.0.0-1.14, the functionality is close to being "feature complete" compared to the prior DTrace for Linux 1.2 kernel-based implementation. The IO provider has been implemented, the print() action is in place, various other functions implemented, numerous bug fixes, and plenty of other changes. The Oracle release announcement reads:
We are happy to announce the availability of the latest development version of DTrace for Linux (2.0.0-1.14).

This new version is based on BPF and other Linux kernel tracing features and is implemented entirely as a userspace application. It can be used for tracing on any Linux kernel that provides BPF based tracing and BTF type data, although (as mentioned below) improved functionality depends on two (optional) kernel patches.

The functionality is close to being feature-complete in comparison with the kernel moduule based version of DTrace for Linux (version 1.2.1-1). Development continues in an incremental fashion to make the full feature set of DTrace available using existing kernel features.

The DTrace 2.0 code continues to be developed on GitHub.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week