DTrace
DTrace is a dynamic tracing framework originally developed by Sun Microsystems for the Solaris operating system. It provides safe, non-intrusive instrumentation of kernel and user-space code, enabling detailed visibility into system behavior without requiring source modification or recompilation.
At its core, DTrace consists of probes emitted by providers, a scripting language called D used to
Probes are grouped into providers such as syscall (system calls), fbt (function boundary tracing), and pid (process-specific
Data collected by DTrace is streamed to the consumer tools or written to buffers for analysis. The
Originating with Solaris and later ported to other Unix-like systems, DTrace has been developed in open-source
Applications include troubleshooting complex performance problems, validating hypotheses about software behavior, and gaining insight into system-wide