Oracle Quietly Unveils DTrace 2.0 for Linux, Leveraging Kernel Tracing Capabilities

Oracle Quietly Unveils DTrace 2.0 for Linux, Leveraging Kernel Tracing Capabilities
🕧 3 min

Over the years, DTrace, once highly coveted by Linux developers, has seen its prominence wane as Linux kernel tracing capabilities have steadily improved. Despite this evolution, Oracle has quietly supported DTrace on Linux for years. The recent release of DTrace 2.0.0-1.14 marks the latest advancement in this user-space implementation, which now leverages Linux kernel tracing functionalities like BPF.

Oracle’s journey with DTrace on Linux spans a decade, during which Linux’s native tracing capabilities have matured. With DTrace 2.0 now operating as a standalone user-space application, it taps into the kernel’s intrinsic capabilities.

The latest version, DTrace 2.0.0-1.14, is deemed “feature complete” compared to its predecessor, DTrace for Linux 1.2, which was kernel-based. Notable updates include the implementation of the IO provider, integration of the print() action, and numerous bug fixes. Oracle’s release announcement highlights the following:

“We are pleased to introduce the latest development iteration of DTrace for Linux (version 2.0.0-1.14). This iteration, based on BPF and other Linux kernel tracing features, operates entirely as a user-space application. It is compatible with any Linux kernel offering BPF-based tracing and BTF type data, although enhanced functionality depends on two optional kernel patches.

This version marks significant progress towards feature completeness compared to the kernel module-based DTrace for Linux (version 1.2.1-1). Development continues incrementally to leverage existing kernel features and deliver the full feature set of DTrace.”

Recommended Reads :