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?
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).
Do you have any suggestions?