Sampling profiler for Python programs