Stan Cox <[email protected]> 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.1 2011-12-07 11:18:03.733659382 -0500
+++ Python/ceval.c 2011-12-19 18:45:54.601309213 -0500
@@ -796,3 +796,3 @@
lineno = PyCode_Addr2Line(f->f_code, f->f_lasti);
- PYTHON_FUNCTION_ENTRY(filename, name, lineno);
+ PYTHON_FUNCTION_ENTRY(filename, name, lineno, f);
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue13405>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com