Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'bug': 0.02; 'to:name:la lista de python en castellano': 0.03; 'python:': 0.05; 'repository': 0.05; 'url:bugs': 0.05; 'subject:Python': 0.05; 'python': 0.08; 'to:addr:python-es': 0.09; '"my': 0.09; ':-).': 0.09; 'jesus': 0.09; 'pgp': 0.09; 'subject:2.7': 0.09; 'tracker': 0.09; 'url:diff': 0.09; 'url:rst': 0.09; 'x86': 0.09; 'message-----': 0.12; 'feedback.': 0.15; '"things': 0.16; '(32': 0.16; '(gnu/linux)': 0.16; '-----begin': 0.16; '-----end': 0.16; '2.7.2': 0.16; '3.3.': 0.16; '_/_/': 0.16; '_/_/_/': 0.16; '_/_/_/_/_/': 0.16; 'avion': 0.16; 'cea': 0.16; 'cleanly': 0.16; 'dump"': 0.16; 'dump,': 0.16; 'email addr:jabber.org': 0.16; 'email name:xmpp:jcea': 0.16; 'felicidad': 0.16; 'from:addr:jcea': 0.16; 'from:addr:jcea.es': 0.16; 'from:name:jesus cea': 0.16; 'gnupg': 0.16; 'hash:': 0.16; 'jabber': 0.16; 'jcea@jcea.es': 0.16; 'leibniz': 0.16; 'message-id:@jcea.es': 0.16; 'otro"': 0.16; 'patch,': 0.16; 'poner': 0.16; 'received:94.23.84': 0.16; 'received:94.23.84.75': 0.16; 'received:jcea.es': 0.16; 'received:smtp.jcea.es': 0.16; 'sha1': 0.16; 'sparc': 0.16; 'url:enigmail': 0.16; 'url:hg': 0.16; 'url:jcea': 0.16; 'url:mozdev': 0.16; 'x86-64.': 0.16; '<>.': 0.17; 'comment:': 0.18; 'integrate': 0.18; 'trying': 0.21; 'maybe': 0.21; 'versions': 0.23; 'gil': 0.23; 'similar,': 0.23; 'mode': 0.25; 'url:doc': 0.25; 'charset:iso-8859-15': 0.26; 'function': 0.27; 'somebody': 0.28; 'monitor': 0.28; 'version.': 0.29; 'url:library': 0.31; 'version': 0.32; 'quite': 0.32; 'signed': 0.32; 'ps:': 0.32; 'initial': 0.32; 'header:User-Agent:1': 0.33; 'there': 0.33; 'to:addr:python-list': 0.34; 'all.': 0.34; 'progress.': 0.34; 'solaris': 0.34; '(not': 0.35; 'running': 0.35; 'apply': 0.35; 'test': 0.35; 'skip:" 20': 0.35; 'url:python': 0.36; 'post': 0.36; 'core': 0.36; 'but': 0.37; 'using': 0.38; 'patch': 0.38; 'some': 0.38; 'easier': 0.38; 'manually': 0.39; 'version:': 0.39; 'url:org': 0.39; '(with': 0.39; 'subject: (': 0.40; 'to:addr:python.org': 0.40; 'might': 0.40; 'move': 0.40; 'personal': 0.60; 'more': 0.61; 'your': 0.61; 'spend': 0.61; 'enable': 0.62; 'details': 0.65; 'direct': 0.67; 'amor': 0.67; 'received:94.23': 0.67; '11,': 0.68; 'to:no real name:2**2': 0.69; 'care': 0.71; 'details:': 0.76; 'url:es': 0.80; ':).': 0.84; '3.3': 0.91; 'demand.': 0.91; 'officially': 0.95; 'to:2**3': 0.97 Date: Thu, 24 Nov 2011 17:46:48 +0100 From: Jesus Cea User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: dtrace-discuss@opensolaris.org, python-list@python.org, La lista de python en castellano , python-madrid@googlegroups.com, OpenIndiana Developer mailing list , Discussion list for OpenIndiana Subject: DTrace probes in Python 2.7 (and next 3.3) X-Enigmail-Version: 1.3.3 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Spam-Probability-jcea: Ham (0.0%) rz: False [55b5b255905117ec15882f22eda04caf] (None) X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 63 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1322153212 news.xs4all.nl 6858 [2001:888:2000:d::a6]:49682 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:16169 -----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 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: How to check: . The easier way to get the patch is to clone my repository at (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 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-----