Instrumenting CPython with DTrace and SystemTap
General Python FAQ