Fun with macOS dtruss

I was working on a little tool on macOS and wanted to see what system calls does it call internally. Apparently, strace is specific to Linux. macOS has dtruss tool which is a dtrace version of truss. dtruss is a shell script wrapper around dtrace. Looking at dtrace man pages, it seemed to too much …