title: How can I profile a multithreaded program?
body: <p>I have a program that is performing waaaay under par, and I would like to profile it. However, it is multithreaded, so I can't seem to find a good way to profile this thing. Any advice? </p>
  
  <p>I've tried yappi, but it segfaults on OS X :(</p>
  
  <p>EDIT: This is in python, sorry for putting it under profiling... </p>