I thought your suggestion to try truss/strace was a good one, so performed the Mac OS X equivalent. On that OS, the command you want is called "sample" (included with the developer tools).
Not quite. While the output from "sample" can be very interesting, I think "ktrace" is a closer equivalent to "truss" and "strace" ...
--
Sebastian Hagedorn M.A. - RZKR-R1 (Flachbau), Zi. 18, Robert-Koch-Str. 10
Zentrum für angewandte Informatik - Universitätsweiter Service RRZK
Universität zu Köln / Cologne University - Tel. +49-221-478-5587