I\'m profiling in Python using cProfile. I found a function that takes a lot of CPU time. How do I find out which function is calling this heavy function the mo
cProfile
inspect.stack() will give you the current caller stack.