Author scox
Recipients Garen, belopolsky, 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 2011-12-19.23:53:19
SpamBayes Score 0.002282
Marked as misclassified No
Message-id <1324338800.51.0.509040155374.issue13405@psf.upfronthosting.co.za>
In-reply-to
Content
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);
History
Date User Action Args
2011-12-19 23:53:21scoxsetrecipients: + 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:20scoxsetmessageid: <1324338800.51.0.509040155374.issue13405@psf.upfronthosting.co.za>
2011-12-19 23:53:19scoxlinkissue13405 messages
2011-12-19 23:53:19scoxcreate