[OpenIndiana-discuss] [oi-dev] DTrace probes in Python 2.7 (and next 3.3)
aszeszo at gmail.com
Thu Nov 24 18:49:40 UTC 2011
Just noticed that there is a python 2.7 package in Oracle's userland
It includes DTrace patch. Did you see/use that?
On 24/11/2011 16:46, Jesus Cea wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> Hi all.
> I have spend some time trying to integrate DTrace probes in official
> Python: Currently I have a patch to python 2.7, and my plan in to
> integrate officially in 3.3.
> The initial probes were based on previous work from OpenSolaris, and
> similar, but currently I have quite a few more probes. Current details
> The probes are tested under Solaris 10 x86 and x86-64. I would need
> somebody to try on Solaris 10 Sparc (32 and 64 bits), Solaris 11,
> OpenIndiana, FreeBSD (seems to need a kernel recompilation to enable
> user mode tracing, check Google), Mac (I doubt it works as is), etc.,
> any other platform running DTrace. What about SystemTap compatibility?
> How to check:<http://bugs.python.org/issue13405#msg147706>.
> The easier way to get the patch is to clone my repository at
> <https://hg.jcea.es/cpython-2011/> (with mercurial) and move to the
> branch "dtrace-issue13405_2.7". Keep the clone around if you plan to
> try future versions of this patch, including the future 3.3 version.
> You can manually apply the patch in
> <http://bugs.python.org/file23758/a9f4ae43fd85.diff> to python 2.7.2+
> sourcecode. The patch is developed against version 3c3009f63700
> (2011-11-14). It might not apply cleanly to 2.7.2 sourcecode (not
> checked). I will provide a direct patch to 2.7.3 when available. Maybe
> to 2.7.2 if there is demand.
> This is still work in progress. I will improve support with your
> feedback. I am considering probes to monitor GIL and thinking how to
> monitor C function calls from Python in an easy and fast way. Feedback
> very welcomed.
> Please, if you care about this, test it and provide some feedback :).
> PS: Better post feedback in the bug tracker that by personal email :-).
> - --
> Jesus Cea Avion _/_/ _/_/_/ _/_/_/
> jcea at jcea.es - http://www.jcea.es/ _/_/ _/_/ _/_/ _/_/ _/_/
> jabber / xmpp:jcea at jabber.org _/_/ _/_/ _/_/_/_/_/
> . _/_/ _/_/ _/_/ _/_/ _/_/
> "Things are not so easy" _/_/ _/_/ _/_/ _/_/ _/_/ _/_/
> "My name is Dump, Core Dump" _/_/_/ _/_/_/ _/_/ _/_/
> "El amor es poner tu felicidad en la felicidad de otro" - Leibniz
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> -----END PGP SIGNATURE-----
> oi-dev mailing list
> oi-dev at openindiana.org
More information about the OpenIndiana-discuss