title: How to trace system calls of a program in Mac OS X?
body: <p>I wanted to trace the system calls made by the <strong>find</strong> command <a href="https://stackoverflow.com/questions/31045501/how-to-speed-up-find-for-listing-git-repositories">to debug some performance issues</a> however I could not figure out how to do this on Mac OS X Yosemite.  How can I trace system calls for an arbitrary program similarly to what <strong>strace</strong> does on FreeBSD?  I am especially interested in tracing file-system related calls.</p>