Oracle Announces Availability of New DTrace 2.0 for Linux

Initially developed for Solaris, Oracle's new DTrace version promises feature-complete system tracing for all Linux users.

Oracle has made a significant update by announcing the release of DTrace 2.0.0 for Linux, which is now available to the whole Linux ecosystem. This marks a notable expansion from its initial availability, which was restricted to Oracle Linux users after its original development for Solaris.

What is DTrace?

DTrace, or Dynamic Tracing, is a comprehensive real-time system and application diagnostics toolkit. Originally developed by Sun Microsystems for Solaris and then available only to Oracle Linux, it helps developers and administrators monitor, troubleshoot, and optimize systems in real-time.

It enables the inspection of both user applications and operating systems using a wide array of diagnostic tools without significantly impacting system performance.

Transition to Linux

Oracle’s latest release of DTrace leverages BPF (Berkeley Packet Filter) and other kernel tracing features, which were implemented as a userspace application. This means it does not require integration at the kernel level, allowing for broader compatibility and easier deployment across various Linux versions.

The new 2.0.0-1.14 release promises a feature set close to the original kernel module-based version of DTrace for Linux, with ongoing development to ensure full feature parity. It can be utilized on any Linux kernel that supports BPF-based tracing and BTF (BPF Type Format) type data, with optional kernel patches available to enhance functionality.

DTrace 2.0.0 introduces several new features, including:

  • New probes for CPU performance counters, process lifecycles, system calls, and more.
  • Enhanced speculative tracing functions and extended support for variables and aggregations.
  • Enhanced actions and subroutines, including new capabilities like type-annotated data output and dynamic path cleaning.
  • Advanced runtime features, like CPU-specific probes and improved buffer handling for trace data.

The updated DTrace toolkit can be downloaded freely from Oracle’s GitHub repository. For more information, visit the announcement or the DTrace reference guide.

Bobby Borisov

Bobby Borisov

Bobby, an editor-in-chief at Linuxiac, is a Linux professional with over 20 years of experience. With a strong focus on Linux and open-source software, he has worked as a Senior Linux System Administrator, Software Developer, and DevOps Engineer for small and large multinational companies.

Think You're an Ubuntu Expert? Let's Find Out!

Put your knowledge to the test in our lightning-fast Ubuntu quiz!
Ten questions to challenge yourself to see if you're a Linux legend or just a penguin in the making.

1 / 10

Ubuntu is an ancient African word that means:

2 / 10

Who is the Ubuntu's founder?

3 / 10

What year was the first official Ubuntu release?

4 / 10

What does the Ubuntu logo symbolize?

5 / 10

What package format does Ubuntu use for installing software?

6 / 10

When are Ubuntu's LTS versions released?

7 / 10

What is Unity?

8 / 10

What are Ubuntu versions named after?

9 / 10

What's Ubuntu Core?

10 / 10

Which Ubuntu version is Snap introduced?

The average score is 68%