Stan Cox s...@redhat.com 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
Stan Cox s...@redhat.com 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
Stan Cox s...@redhat.com 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
srcdir/Include so that it is always created at build time in
blddir/Include