Are there any tools already in use for profiling FreeSwitch?  That is, getting statistics on how often various procedures are called, and how much processor time they take, etc.

Being a linux noob, I spent hours looking at "gprof", and when I finally got it working, I learned that it doesn't handle multi-threaded apps like FS.

Is there a recommended tool that people are already using?  Or should I just add my own logging code and recompile?