Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!newsfeed.eweka.nl!eweka.nl!feeder3.eweka.nl!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; 'subject:: [': 0.02; 'python:': 0.05; 'repository': 0.05; 'url:bugs': 0.05; 'subject:Python': 0.05; 'python': 0.08; '"my': 0.09; ':-).': 0.09; 'jesus': 0.09; 'pgp': 0.09; 'subject:2.7': 0.09; 'subject:dev': 0.09; 'tracker': 0.09; 'url:diff': 0.09; 'url:rst': 0.09; 'x86': 0.09; 'message-----': 0.12; '2.7': 0.13; 'subject:] ': 0.14; '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; 'gnupg': 0.16; 'hash:': 0.16; 'jabber': 0.16; 'jcea@jcea.es': 0.16; 'leibniz': 0.16; 'otro"': 0.16; 'patch,': 0.16; 'patch.': 0.16; 'poner': 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; 'cc:addr:python-list': 0.16; 'wrote:': 0.18; 'comment:': 0.18; 'integrate': 0.18; 'that?': 0.18; 'trying': 0.21; 'maybe': 0.21; 'header:In-Reply-To:1': 0.22; 'versions': 0.23; 'gil': 0.23; 'similar,': 0.23; 'noticed': 0.24; 'mode': 0.25; 'url:doc': 0.25; 'function': 0.27; 'somebody': 0.28; 'url:mailman': 0.28; 'monitor': 0.28; 'version.': 0.29; 'cc:addr:python.org': 0.29; 'cc:addr:googlegroups.com': 0.30; 'received:mail-bw0-f46.google.com': 0.30; 'url:library': 0.31; 'skip:_ 40': 0.31; 'version': 0.32; 'quite': 0.32; 'signed': 0.32; 'ps:': 0.32; 'list': 0.32; 'received:209.85.214': 0.32; 'url:listinfo': 0.32; 'initial': 0.32; 'message-id:@gmail.com': 0.33; 'header:User-Agent:1': 0.33; 'there': 0.33; '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; 'received:google.com': 0.37; 'using': 0.38; 'patch': 0.38; 'some': 0.38; 'received:209.85': 0.38; 'easier': 0.38; 'manually': 0.39; 'version:': 0.39; 'mailing': 0.39; 'url:org': 0.39; '(with': 0.39; 'subject: (': 0.40; 'received:209': 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; 'here:': 0.66; 'direct': 0.67; 'amor': 0.67; '11,': 0.68; 'care': 0.71; 'url:es': 0.80; ':).': 0.84; 'cc:2**3': 0.84; 'cc:addr:python-es': 0.84; 'received:95.131': 0.84; '3.3': 0.91; 'demand.': 0.91; 'url:components': 0.91; 'cc:no real name:2**2': 0.95; 'officially': 0.95 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=OXsRrwrIJwA3SJh7QtuaFqguVDEcbyIQ99QDqYF2Dcg=; b=QkV8dP8c0R5W+O6YNlXB4ZAUVwetSyK3xvlW0nbW8uKDnPTF5OY55t7sSlOrZTzf9j vdVmlgg8G1AMnYRoRhJ9hPDccfteMrsCse0+1enkmalPd3h6sPPuW+3Y68Bz/WgQHTXy ziLMZmv9kgbBAg4xSvTzTdC1h8nr3MZ+0eikQ= Date: Thu, 24 Nov 2011 18:49:40 +0000 From: Andrzej Szeszo User-Agent: Mozilla/5.0 (X11; SunOS i86pc; rv:8.0) Gecko/20111106 Thunderbird/8.0 MIME-Version: 1.0 To: OpenIndiana Developer mailing list Subject: Re: [oi-dev] DTrace probes in Python 2.7 (and next 3.3) References: <4ECE74F8.5050208@jcea.es> In-Reply-To: <4ECE74F8.5050208@jcea.es> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Discussion list for OpenIndiana , La lista de python en castellano , python-madrid@googlegroups.com, Jesus Cea , dtrace-discuss@opensolaris.org, python-list@python.org 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: 80 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1322160590 news.xs4all.nl 6909 [2001:888:2000:d::a6]:41620 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:16172 Hi Jesus Just noticed that there is a python 2.7 package in Oracle's userland repo here: 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 > > > 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----- > > _______________________________________________ > oi-dev mailing list > oi-dev@openindiana.org > http://openindiana.org/mailman/listinfo/oi-dev