Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #16172
| Date | 2011-11-24 18:49 +0000 |
|---|---|
| From | Andrzej Szeszo <aszeszo@gmail.com> |
| Subject | Re: [oi-dev] DTrace probes in Python 2.7 (and next 3.3) |
| References | <4ECE74F8.5050208@jcea.es> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.3010.1322160590.27778.python-list@python.org> (permalink) |
Hi Jesus Just noticed that there is a python 2.7 package in Oracle's userland repo here: <http://hg.openindiana.org/upstream/oracle/userland-gate/file/ea6a3f09379c/components/python/python27> It includes DTrace patch. Did you see/use that? Andrzej 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 > in > <http://hg.jcea.es/cpython-2011/file/b1a39702dfd8/Doc/library/dtrace.rst> > > 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? > > Details:<http://bugs.python.org/issue13405> > > 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@jcea.es - http://www.jcea.es/ _/_/ _/_/ _/_/ _/_/ _/_/ > jabber / xmpp:jcea@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/ > > iQCVAwUBTs50+Jlgi5GaxT1NAQKWUwQAnl99nFd6nM5yiPGl8yw4/YR81BTIS563 > 3wyPz74o5wAE3k9quexr+UPCndPogiH6nhnJ9DNXfUpVyaouGG/tGEbZn/x+h7Dv > jc5616IRnHxGAxxuoTscCRRN88zsPVY6i71QMxK2BOS+zXMdcrsBajLrmx1UIzHY > Elr7fq8L988= > =uQM5 > -----END PGP SIGNATURE----- > > _______________________________________________ > oi-dev mailing list > oi-dev@openindiana.org > http://openindiana.org/mailman/listinfo/oi-dev
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: [oi-dev] DTrace probes in Python 2.7 (and next 3.3) Andrzej Szeszo <aszeszo@gmail.com> - 2011-11-24 18:49 +0000
csiph-web