MacOSX Xcode Instruments is really great for profiling native code. However, I have also a huge chunk of Python calls in my callstacks. Can I somehow make Instruments Python-aware?
One solution I could think of is when it sees some PyEval_EvalFrameEx
frame that it looks in its local variables / parameters to separate different Python calls and show me some call info.
I'm not asking about just a Python profiler. I want to profile my native code. But in this native code profiling, I want to add some further intelligence to analyze and translate the Python stack frames.