DTrace logo

DTrace

Analyzes and troubleshoots performance across software components in various operating systems.

Made by Sun Microsystems

  • Software developer

  • Developer Tools

  • os-kernel

  • development

  • traces

What is DTrace?

DTrace is a powerful performance analysis and troubleshooting tool that is integrated into various operating systems, including Solaris, Mac OS X, and FreeBSD. It offers a unique approach to software instrumentation, allowing for the dynamic patching of live running code with instrumentation code, as well as the use of static trace points that are compiled into the software. DTrace's instrumentation capabilities extend beyond just user-level software, such as applications, databases, and web servers, and also include the operating system kernel and device drivers The DTrace facility provides a specialized language, called 'D', which is similar to C and awk, enabling users to write scripts and one-liners to filter and summarize performance data directly in the kernel. This in-kernel data processing is a crucial feature that helps minimize the overhead associated with gathering and presenting performance data, making DTrace suitable for use in performance-sensitive production environments

Highlights

  • Comprehensive instrumentation: DTrace can instrument all software, including applications, databases, web servers, operating system kernel, and device drivers
  • Dynamic tracing: DTrace enables dynamic patching of live running code with instrumentation, allowing for real-time performance analysis
  • Scripting language: The 'D' language provides a powerful and flexible way to filter, summarize, and analyze performance data directly in the kernel
  • Low overhead: DTrace's in-kernel data processing capabilities help reduce the impact on system performance, making it suitable for production environments.

Platforms

  • Mac
  • BSD
  • FreeBSD
  • Solaris
  • Linux

Languages

  • English

Features

    • Debugging