title: Profiling python C extensions
body: <p>I have developed a python C-extension that receives data from python and compute some cpu intensive calculations.
  It's possible to profile the C-extension?</p>
  
  <p>The problem here is that writing a sample test in C to be profiled would be challenging because the code rely on particular inputs and data structures (generated by python control code).</p>
  
  <p>Do you have any suggestions?</p>