Microsoft has released the first Windows version of DTrace, its Linux debugging tool, for 64-bit Windows 10 beta builds. Microsoft has its own ETW (Event Tracing for Windows) tool, but said ETW is static and does not allow for programmatically inserting trace points at runtime.
DTrace on Windows is in the OpenDTrace project on GitHub. OpenDTrace began in 2016 as an effort to produce a portable implementation of DTrace for multiple operating systems. During the next few months, Microsoft plans to work with the OpenDTrace community to merge changes.
[ Discover the power of PowerShell: PowerShell intro for Windows Server admins • PowerShell intro for Exchange admins • Essential PowerShell scripts for security admins • All about PowerShell providers and modules. | Keep up with hot topics in programming with InfoWorld’s App Dev Report newsletter. ]
DTrace serves as a dynamic tracing framework for administrators or developers to get a real-time view into a system either in kernel or user mode. It has a C-style language for dynamically inserting trace points. Users can filter on conditions or errors, write code to look at lock patterns, and detect deadlocks.
To read this article in full, please click here