Sampling with Activity Monitor / Instruments / Shark will show stack stacks full of C functions for the Python interpreter. It would be useful for me to see the corresponding Python symbol names. Is there some kind of DTrace magic that can do this? The Python cProfile module can be useful for profiling individual subtrees of Python calls, but not for getting information about what happens to the entire application in response to user events.
python cocoa macos pyobjc
Michael Tsai
source share