3 ms·
I've only recently tried out DTrace on OS X, and I'll admit to being kinda floored at what it can do. To think I used to be satisfied with strace on Linux! See
by AceJohnny2 10y ago
I've only recently tried out DTrace on OS X, and I'll admit to being kinda floored at what it can do. To think I used to be satisfied with strace on Linux!
Seeing the tracing capabilites of Linux expand is exciting indeed.
Edit: the couple of tutorials that finally unlocked DTrace (on OS X) for me are:
https://www.objc.io/issues/19-debugging/dtrace/ https://www.objc.io/issues/19-debugging/dtrace/
https://www.bignerdranch.com/blog/hooked-on-dtrace-part-1/ https://www.bignerdranch.com/blog/hooked-on-dtrace-part-1/
- tkinom 10y agoAgree, DTrace on OS X is supper powerful. I once try to debug the open source libusb app in Mac OS, with DTrace I can trace the App, Kernel USB API call, libusb internal thread in user space, etc. Much better visibility to system activities compare to simple strace. Absolutely love the power of what it can do. BTW, Can a DTrace script to use to monitor a system with potential "Dirty COW" type privilege escalation issue?