Stan Cox added the comment:
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/configure.in
* Makefile.pre.in
* pyconfig.h.in
Same changes as the dtrace patch
Stan Cox added the comment:
systemtap doesn't have have a ustack helper, but if the frame pointer were
provided to PYTHON_FUNCTION_ENTRY, then it could be cached to provide python
stack frame access.
--- Python/ceval.c.12011-12-07 11:18:03.733659382 -0500
+++ Python/ceval.c 20
Stan Cox added the comment:
The patch works for systemtap except for one minor nit. pydtrace.h, created by
stap from pydtrace.d, is stap specific. Could pydtrace.h not be included in
/Include so that it is always created at build time in
/Include? If PyEval_GetFrame() were passed via