This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author scox
Recipients Garen, belopolsky, benjamin.peterson, danchr, dhduvall, dmalcolm, fche, glyph, hazmat, jbaker, jcea, jmcp, laca, lasizoillo, loewis, mjw, movement, neologix, pitrou, rhettinger, robert.kern, ronaldoussoren, scox, serverhorror, sirg3, techtonik, twleung, wsanchez
Date 2012-02-02.19:08:43
SpamBayes Score 4.141132e-13
Marked as misclassified No
Message-id <>
This is a subset of the dtrace patch and consists of the minimal functionality
needed by systemtap.  The only files that are changed from upstream sources are
as follows.

* configure/
  Same changes as the dtrace patch except there is no phelper.

* pydtrace.d
  Same change as the dtrace patch except added PyFrameObject to probes.
  Instead of passing in fields like filename and function name, the systemtap
  scripts (not shown) use PyFrameObject and access the python data structures.
  The overhead for a systemtap probe is a single nop and PyFrameObject is
  possibly live at the probe point so the overhead will be minimal.  pydtrace.h
  is always generated since this file is different for dtrace and stap.

* ceval.c
  The only changes to ceval.c from the upstream version are the addition of the
  PYTHON_FUNCTION_ENTRY is invoked directly since the overhead of the probe is
  less than the overhead of a conditional check.  The probe passes the
  PyFrameObject, as mentioned above, but nothing else.  Likewise for

systemtap tapset, not included in patch, will provide backtrace results such as:
 #0 main  at /.../python/
 #1 <module>  at /.../python/
 #2 celsius_to_farenheit (celsius:int ) at /.../python/
and variable trace results such as:
 tuple atuple in celsius_to_farenheit at /.../python/ =  "a", "b", "c",
 list alist in celsius_to_farenheit at /.../python/ = [ 1, 2, 3,]
 set aset in celsius_to_farenheit at /.../python/ = { 1, 2, 3,}
Date User Action Args
2012-02-02 19:08:47scoxsetrecipients: + scox, loewis, rhettinger, jcea, ronaldoussoren, belopolsky, pitrou, wsanchez, movement, techtonik, benjamin.peterson, serverhorror, glyph, laca, twleung, jbaker, robert.kern, sirg3, danchr, dhduvall, dmalcolm, mjw, Garen, neologix, lasizoillo, fche, hazmat, jmcp
2012-02-02 19:08:46scoxsetmessageid: <>
2012-02-02 19:08:46scoxlinkissue13405 messages
2012-02-02 19:08:45scoxcreate