DTrace
Sun's framework for asking arbitrary questions of a running system — no reboot, and no cost when nobody is asking.
Bryan Cantrill, Mike Shapiro and Adam Leventhal built it for Solaris 10, released in 2005. The kernel and applications are studded with probes, tens of thousands of points where execution can be caught, and the user writes short scripts in the D language: at which probe, under what condition, what to count. A probe that isn't enabled effectively doesn't exist, which is what made it reasonable to switch on in production.
It was ported to FreeBSD, to macOS in 2007 and much later to Windows. Linux never adopted it, largely over the CDDL licence, and instead built comparable powers on top of eBPF. The illumos world still regards it as Solaris's most important legacy.