Message149894
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); |
|
Date |
User |
Action |
Args |
2011-12-19 23:53:21 | scox | set | recipients:
+ scox, loewis, rhettinger, jcea, ronaldoussoren, belopolsky, pitrou, wsanchez, movement, techtonik, serverhorror, glyph, laca, twleung, jbaker, robert.kern, sirg3, danchr, dhduvall, dmalcolm, mjw, Garen, neologix, lasizoillo, fche, hazmat, jmcp |
2011-12-19 23:53:20 | scox | set | messageid: <1324338800.51.0.509040155374.issue13405@psf.upfronthosting.co.za> |
2011-12-19 23:53:19 | scox | link | issue13405 messages |
2011-12-19 23:53:19 | scox | create | |
|