[Python-checkins] python/dist/src/Doc/lib libpdb.tex,1.38,1.39
mondragon at users.sourceforge.net
mondragon at users.sourceforge.net
Wed Mar 24 16:57:40 EST 2004
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8622/Doc/lib
Modified Files:
libpdb.tex
Log Message:
Enable the profiling of C functions (builtins and extensions)
Index: libpdb.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libpdb.tex,v
retrieving revision 1.38
retrieving revision 1.39
diff -C2 -d -r1.38 -r1.39
*** libpdb.tex 25 Aug 2003 04:28:04 -0000 1.38
--- libpdb.tex 24 Mar 2004 21:57:08 -0000 1.39
***************
*** 351,356 ****
Trace functions have three arguments: \var{frame}, \var{event}, and
\var{arg}. \var{frame} is the current stack frame. \var{event} is a
! string: \code{'call'}, \code{'line'}, \code{'return'} or
! \code{'exception'}. \var{arg} depends on the event type.
The global trace function is invoked (with \var{event} set to
--- 351,357 ----
Trace functions have three arguments: \var{frame}, \var{event}, and
\var{arg}. \var{frame} is the current stack frame. \var{event} is a
! string: \code{'call'}, \code{'line'}, \code{'return'}, \code{'exception'},
! \code{'c_call'}, \code{'c_return'}, or \code{'c_exception'}. \var{arg}
! depends on the event type.
The global trace function is invoked (with \var{event} set to
***************
*** 391,394 ****
--- 392,405 ----
function.
+ \item[\code{'c_call'}]
+ A C function is about to be called. This may be an extension function
+ or a builtin. \var{arg} is the C function name.
+
+ \item[\code{'c_return'}]
+ A C function has returned. \var{arg} is \code{None}.
+
+ \item[\code{'c_exception'}]
+ A C function has thrown an exception. \var{arg} is \code{None}.
+
\end{description}
More information about the Python-checkins
mailing list