diff -bB -u -p -Nr Python-2.7.2/Python/ceval.c src-2.7.2/Python/ceval.c
--- Python-2.7.2/Python/ceval.c	2011-06-11 11:46:27.000000000 -0400
+++ src-2.7.2/Python/ceval.c	2012-01-24 13:52:11.771437763 -0500
@@ -19,6 +19,8 @@
 
 #include <ctype.h>
 
+#include <sys/sdt.h>
+
 #ifndef WITH_TSC
 
 #define READ_TIMESTAMP(var)
@@ -876,6 +878,7 @@ PyEval_EvalFrameEx(PyFrameObject *f, int
 
     tstate->frame = f;
 
+    DTRACE_PROBE1 (python, function__entry, PyEval_GetFrame());
     if (tstate->use_tracing) {
         if (tstate->c_tracefunc != NULL) {
             /* tstate->c_tracefunc, if defined, is a
@@ -3001,6 +3006,7 @@ fast_yield:
 
     /* pop frame */
 exit_eval_frame:
+    DTRACE_PROBE1 (python, function__return,  PyEval_GetFrame());
     Py_LeaveRecursiveCall();
     tstate->frame = f->f_back;
 
