FreeBSD compatible DTrace scripts

I’ve decided to take a closer look into DTrace on FreeBSD and found out that quite a few DTrace scripts from the DTrace Toolkit are not compatible with FreeBSD (since DTrace works on kernel level and FreeBSD has different kernel structures for file descriptors, etc.)

To overcome the issue, I’ve adapted some of the scripts from the DTrace Toolkit to FreeBSD. My collection of the FreeeBSD compatible scripts can be found at github.com/zaa/freebsd-dtrace-tools.