[issue13405] Add DTrace probes

2016-09-09 Thread Łukasz Langa
Changes by Łukasz Langa : -- resolution: -> out of date status: open -> closed superseder: -> Systemtap and DTrace support ___ Python tracker ___ __

[issue13405] Add DTrace probes

2015-09-02 Thread cburroughs
Changes by cburroughs : -- nosy: +cburroughs ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue13405] Add DTrace probes

2015-01-14 Thread Augie Fackler
Changes by Augie Fackler : -- nosy: +durin42 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue13405] Add DTrace probes

2014-12-26 Thread Nikhil Benesch
Changes by Nikhil Benesch : -- nosy: +benesch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue13405] Add DTrace probes

2014-06-26 Thread Xavier Morel
Changes by Xavier Morel : -- nosy: +xmorel ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue13405] Add DTrace probes

2014-05-27 Thread Bohuslav "Slavek" Kabrda
Bohuslav "Slavek" Kabrda added the comment: I opened a bug for tracking progress of development of the combined dtrace and systemtap support: http://bugs.python.org/issue21590 -- nosy: +bkabrda ___ Python tracker

[issue13405] Add DTrace probes

2014-05-02 Thread Shawn
Changes by Shawn : -- nosy: +swalker ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/ma

[issue13405] Add DTrace probes

2014-03-19 Thread John Beck
Changes by John Beck : -- nosy: +jbeck ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/

[issue13405] Add DTrace probes

2013-10-18 Thread Martin Marcher
Changes by Martin Marcher : -- nosy: -serverhorror ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue13405] Add DTrace probes

2013-10-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: > antoine, is it possible test/pass --with-dtrace on a buildbot without > including it in the master build configuration? > > If not, I'm happy to create a special (dedicated) slave for Jesús so > he can continue to test his branch at leisure without messing up

[issue13405] Add DTrace probes

2013-10-18 Thread koobs
koobs added the comment: antoine, is it possible test/pass --with-dtrace on a buildbot without including it in the master build configuration? If not, I'm happy to create a special (dedicated) slave for Jesús so he can continue to test his branch at leisure without messing up the existing slav

[issue13405] Add DTrace probes

2013-10-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Marc, you just reminded me I need to ask antoine to re-create the > custom DTrace builder that passes --with-dtrace, thanks :) Well, I don't think it makes a lot of sense to re-create it, until DTrace support is integrated. -- ___

[issue13405] Add DTrace probes

2013-10-18 Thread koobs
koobs added the comment: Marc, you just reminded me I need to ask antoine to re-create the custom DTrace builder that passes --with-dtrace, thanks :) I've been keeping both of the FreeBSD (9.x and 10.x) buildslaves as close to HEAD as possible with frequent world updates, which have been recei

[issue13405] Add DTrace probes

2013-10-18 Thread koobs
Changes by koobs : -- nosy: +koobs ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mail

[issue13405] Add DTrace probes

2013-10-08 Thread Marc Abramowitz
Marc Abramowitz added the comment: Nice to see this moving along as I helped Jesús a while back with some testing on OS X and FreeBSD. The buildbots in particular sound like a great asset. Let me know if I can help again with testing, though it looks like the basics are pretty well-covered by

[issue13405] Add DTrace probes

2013-06-21 Thread Robert Buchholz
Changes by Robert Buchholz : -- nosy: +Robert.Buchholz ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue13405] Add DTrace probes

2013-04-12 Thread Tadas Barzdžius
Changes by Tadas Barzdžius : -- nosy: +Tadas.Barzdžius ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue13405] Add DTrace probes

2013-01-20 Thread Trent Nelson
Changes by Trent Nelson : -- nosy: +trent ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue13405] Add DTrace probes

2012-10-04 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : Added file: http://bugs.python.org/file27417/9030a207c5d6.diff ___ Python tracker ___ ___ Python-bugs-list mailin

[issue13405] Add DTrace probes

2012-10-04 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : Added file: http://bugs.python.org/file27416/775eeaf1a707.diff ___ Python tracker ___ ___ Python-bugs-list mailin

[issue13405] Add DTrace probes

2012-10-04 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- hgrepos: +151 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue13405] Add DTrace probes

2012-08-29 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: OpenIndiana custom buildbots, 32 and 64 bits, SUCCESFULL: 2.7 branch: 32 bits: http://buildbot.python.org/all/builders/x86%20OpenIndiana%20custom/builds/6 64 bits: http://buildbot.python.org/all/builders/AMD64%20OpenIndiana%20custom/builds/8 3.3 branch: 32

[issue13405] Add DTrace probes

2012-08-29 Thread Robert Kern
Changes by Robert Kern : -- nosy: -robert.kern ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue13405] Add DTrace probes

2012-08-29 Thread Ronald Oussoren
Ronald Oussoren added the comment: It's rather annoying that dtrace doesn't honor the PATH variable, and when you run the strings command on /usr/lib/libdtrace.dylib you'll see that it hardcodes the use of gcc (not even cpp or clang). I've filed radar 12196604 in Apple's tracker, although it i

[issue13405] Add DTrace probes

2012-08-29 Thread Samuel John
Samuel John added the comment: dtrace ignores PATH and CC and CPP. I tried that already :/ Of course I could just install the command line tools. But still it's a shame since all the tools are already there. -- ___ Python tracker

[issue13405] Add DTrace probes

2012-08-29 Thread Ronald Oussoren
Ronald Oussoren added the comment: The obvious workaround w.r.t. dtrace not finding the preprocessor is to install the command-line tools for xcode, which you can do from Xcode's preferences. something else to try (before installing the commandline tools): add $(dirname $(xcrun -find cpp)) to

[issue13405] Add DTrace probes

2012-08-28 Thread Samuel John
Samuel John added the comment: I did your test. Thank you! You are absolutely right, it seems, dtrace does not honor "CPP" or "PATH" or any other flags and bluntly looks in a hard-coded location. It's not up to you to patch that. -- ___ Python trac

[issue13405] Add DTrace probes

2012-08-27 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Samuel, the program complaining about not being able to find the C Preprocessor is the system "dtrace" executable. Looks like a dependency there. To check this hypotesis, create a file called "a.d", with the following content: """ provider test { probe abc(

[issue13405] Add DTrace probes

2012-08-22 Thread Samuel John
Samuel John added the comment: On OS X 10.8 with Xcode only (no command line tools), I get the following err (when using clang or when using llvm-gcc): ``` dtrace: failed to compile script ./Include/pydtrace.d: Preprocessor not found make: *** [Include/pydtrace.h] Error 1 ``` At homebrew we op

[issue13405] Add DTrace probes

2012-08-10 Thread Francois Dion
Changes by Francois Dion : -- nosy: +Francois.Dion ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue13405] Add DTrace probes

2012-07-08 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Justin, I can compile and run the tests fine in my Solaris 11 virtual machine, both in 32 and 64 bits and both static and dynamic. I am using GCC, and you are using Sun Studio. http://buildbot.python.org/all/builders/x86%20Solaris%2011%20custom/builds/17/ste

[issue13405] Add DTrace probes

2012-07-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Antoine, the Solaris 11 custum buildbot is not getting the "--with- > dtrace" configure parameter. Check which configuration have you changed > :-? Well, I thought you meant the new FreeBSD buildbots. I'm gonna change the Solaris bb too. -- __

[issue13405] Add DTrace probes

2012-07-07 Thread Larry Hastings
Changes by Larry Hastings : -- nosy: -larry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue13405] Add DTrace probes

2012-07-07 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Antoine, the Solaris 11 custum buildbot is not getting the "--with-dtrace" configure parameter. Check which configuration have you changed :-? """ /configure --with-pydebug --with-system-ffi in dir /home/bpython/buildarea/custom.venus-solaris/build (timeout

[issue13405] Add DTrace probes

2012-07-07 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Antoine, thanks. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue13405] Add DTrace probes

2012-07-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: > I need to pass a "--with-dtrace" to the buildbot configure. How can I > do it, beside faking it manipulating the pushed "configure" script?. This is done on the buildmaster. I just did the change, can you try again? -- __

[issue13405] Add DTrace probes

2012-07-07 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: I need to pass a "--with-dtrace" to the buildbot configure. How can I do it, beside faking it manipulating the pushed "configure" script?. -- ___ Python tracker

[issue13405] Add DTrace probes

2012-07-06 Thread Justin Venus
Justin Venus added the comment: @jcea I am the owner of the Solaris 11 buildslave[1]. I have configured the build user to have dtrace privileges if you need to run additional tests against it. Let me know if you encounter any additional issues with this system. 1)http://buildbot.python.org/a

[issue13405] Add DTrace probes

2012-07-03 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : Removed file: http://bugs.python.org/file25203/4a072278b866.diff ___ Python tracker ___ ___ Python-bugs-list mail

[issue13405] Add DTrace probes

2012-07-03 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : Removed file: http://bugs.python.org/file25192/aa2dcffa267f.diff ___ Python tracker ___ ___ Python-bugs-list mail

[issue13405] Add DTrace probes

2012-07-03 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- versions: +Python 3.4 -Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue13405] Add DTrace probes

2012-07-03 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Thanks to Marc Abramowitz huge help and support, current patch builds and works perfectly fine under: 1. x86 32 and 64 bits, static and shared library, Solaris 10. 2. x86 32 and 64 bits, static and shared library, OpenSolaris derivatives (Solaris 11, Openin

[issue13405] Add DTrace probes

2012-07-03 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : Added file: http://bugs.python.org/file26248/d12ded643482.diff ___ Python tracker ___ ___ Python-bugs-list mailin

[issue13405] Add DTrace probes

2012-07-03 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : Added file: http://bugs.python.org/file26247/56ac083c60dc.diff ___ Python tracker ___ ___ Python-bugs-list mailin

[issue13405] Add DTrace probes

2012-06-07 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Marc, please, check your GTalk/XMPP window :-) -- ___ Python tracker ___ ___ Python-bugs-list mail

[issue13405] Add DTrace probes

2012-06-07 Thread Marc Abramowitz
Marc Abramowitz added the comment: I hacked around the previous error (duplicate definitions of `collect`) and then ran into: gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes-I. -I./Include-DPy_BUILD_CORE -o ./Include/pydtrace_offsets \

[issue13405] Add DTrace probes

2012-06-07 Thread Marc Abramowitz
Marc Abramowitz added the comment: If I do `/configure --with-dtrace --enable-framework && make` then I get: ``` ... gcc -c -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes-I. -I./Include-DPy_BUILD_CORE -o Modules/gcmodule.o Modules/gcmodule.

[issue13405] Add DTrace probes

2012-06-07 Thread Marc Abramowitz
Marc Abramowitz added the comment: The 2.7 patch doesn't apply cleanly for me against the latest on the 2.7 branch: [last: 0] marca@scml-marca:~/src$ hg clone http://hg.python.org/cpython && cd cpython && hg update 2.7 && hg branch && hg tip && curl -s http://bugs.python.org/file25192/aa2dcff

[issue13405] Add DTrace probes

2012-06-07 Thread Marc Abramowitz
Marc Abramowitz added the comment: Hi jcea, Sorry, I've been away from this for a while. I'm getting undefined symbols now while trying to link: ``` (12:47pm) [last: 0] marca@scml-marca:~/src$ hg clone http://hg.python.org/cpython... (12:55pm) [last: 0] marca@scml-marca:~/src$ cd cpython [l

[issue13405] Add DTrace probes

2012-05-10 Thread Dave Malcolm
Dave Malcolm added the comment: I've refreshed my SystemTap patch, and opened a new issue, issue #14776 to cover SystemTap. Issue #4111 was originally opened on 2008-10-12 as "Add DTrace probes", and was generalized on 2009-12-08 to "Add Systemtap/DTrace probes". That issue was closed on 20

[issue13405] Add DTrace probes

2012-04-20 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Frank, if somebody provides a "diff" I can test under Ubuntu 10.04, I can try it myself. This patch MUST be differential from my current patch (to be applied OVER it) and must cover EVERYTHING, from "./configure" to the test execution. Anyway, "issues" in t

[issue13405] Add DTrace probes

2012-04-20 Thread Frank Ch. Eigler
Frank Ch. Eigler added the comment: > Stan, anybody working in SystemTap support, could you possibly > create a new issue in the tracker to track specifically stap > support?. You can depend on this bug, and coordinate effort. Clone > my repository and use it as base. I believe the only remotel

[issue13405] Add DTrace probes

2012-04-20 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Stan, anybody working in SystemTap support, could you possibly create a new issue in the tracker to track specifically stap support?. You can depend on this bug, and coordinate effort. Clone my repository and use it as base. Thanks!. -- ___

[issue13405] Add DTrace probes

2012-04-13 Thread anatoly techtonik
Changes by anatoly techtonik : -- nosy: -techtonik ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue13405] Add DTrace probes

2012-04-13 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : Removed file: http://bugs.python.org/file25193/1e4d2c51b2d9.diff ___ Python tracker ___ ___ Python-bugs-list mail

[issue13405] Add DTrace probes

2012-04-13 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : Added file: http://bugs.python.org/file25203/4a072278b866.diff ___ Python tracker ___ ___ Python-bugs-list mailin

[issue13405] Add DTrace probes

2012-04-12 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: PHP 5.4.0 added DTRACE support: http://fr2.php.net/ChangeLog-5.php The python window for 3.3 closes mid june. Let's do not miss it this time :-). -- ___ Python tracker

[issue13405] Add DTrace probes

2012-04-12 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Published diff from stock 2.7.3. Cleanups and simplifications. Marc, could you possible compile under MacOS X both 2.7 and 3.3 branches, both in 32 and 64 bits?. The tags are: dtrace-issue13405 <- 3.3a2+ dtrace-issue13405_2.7 <- 2.7.3 Let me know ho

[issue13405] Add DTrace probes

2012-04-12 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : Added file: http://bugs.python.org/file25193/1e4d2c51b2d9.diff ___ Python tracker ___ ___ Python-bugs-list mailin

[issue13405] Add DTrace probes

2012-04-12 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : Added file: http://bugs.python.org/file25192/aa2dcffa267f.diff ___ Python tracker ___ ___ Python-bugs-list mailin

[issue13405] Add DTrace probes

2012-04-12 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : Removed file: http://bugs.python.org/file24283/f86bb02fd8f4.diff ___ Python tracker ___ ___ Python-bugs-list mail

[issue13405] Add DTrace probes

2012-04-12 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : Removed file: http://bugs.python.org/file24281/5458412752d5.diff ___ Python tracker ___ ___ Python-bugs-list mail

[issue13405] Add DTrace probes

2012-03-25 Thread Marc Abramowitz
Marc Abramowitz added the comment: Hey Jesús, Let me know if you need any additional help testing. Marc -- ___ Python tracker ___ _

[issue13405] Add DTrace probes

2012-02-29 Thread Philip Jenvey
Changes by Philip Jenvey : -- nosy: -pjenvey ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue13405] Add DTrace probes

2012-02-28 Thread Larry Hastings
Changes by Larry Hastings : -- nosy: +larry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue13405] Add DTrace probes

2012-02-28 Thread Marc Abramowitz
Marc Abramowitz added the comment: For anyone who is curious about the FreeBSD 9.0 DTrace userland problems I experienced, see http://www.freebsd.org/cgi/query-pr.cgi?pr=165541 -- ___ Python tracker _

[issue13405] Add DTrace probes

2012-02-28 Thread Marc Abramowitz
Marc Abramowitz added the comment: [marca@freebsd9-0 ~]$ /home/marca/custom/bin/python Python 2.7.2+ (dtrace-issue13405_2.7:e612f29478e3+, Feb 27 2012, 20:37:22) [GCC 4.2.1 20070831 patched [FreeBSD]] on freebsd9 Type "help", "copyright", "credits" or "license" for more information. >>> [marca

[issue13405] Add DTrace probes

2012-02-28 Thread Marc Abramowitz
Marc Abramowitz added the comment: I wanted to post an update on FreeBSD 9.0, which Jesús and I worked on a bit yesterday. Maybe Jordan will chime in here with an answer to my FreeBSD problems. :-) With a little bit of Makefile hackery (make it skip building the phelper stuff which was faili

[issue13405] Add DTrace probes

2012-02-28 Thread Marc Abramowitz
Marc Abramowitz added the comment: Limiting to 10.6 and above seems entirely reasonable to me. I am one of the few folks that I know who is still on 10.6. Most of my friends are on 10.7. Since OS X is primarily a desktop OS, I think people tend to upgrade more quickly compared to more of a se

[issue13405] Add DTrace probes

2012-02-28 Thread Philip Jenvey
Philip Jenvey added the comment: Actually 10.5 was the last PowerPC release -- nosy: +pjenvey ___ Python tracker ___ ___ Python-bugs-

[issue13405] Add DTrace probes

2012-02-28 Thread Wilfredo Sanchez
Wilfredo Sanchez added the comment: Given that the current Mac OS is 10.7, and 10.8 was just announced, it seems reasonable to limit support to 10.6, if going back any further is more than a little bit of additional work. IIRC, 10.6 is also the last release to support PowerPC, so going back t

[issue13405] Add DTrace probes

2012-02-28 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: MacOS 10.6 was released in August 2009. The code should compile there flawless with a couple of trivial changes, as proved by Marc. Supporting compilation in MacOS 10.5 is doable but more difficult. Since this is an optional feature, not impacting python pro

[issue13405] Add DTrace probes

2012-02-27 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Marc, check your email. I am online in Jabber/XMPP. My JID is j...@jabber.org. Can you send me a chat message there?. Google demands that you start the communication, possibly to avoid IM spam. -- ___ Python track

[issue13405] Add DTrace probes

2012-02-27 Thread Marc Abramowitz
Marc Abramowitz added the comment: Re my comment in #154513, the following seems to fix that problem on FreeBSD 9.0: [marca@freebsd9-0 ~/src/cpython-2011]$ hg diff Makefile.pre.in diff -r 70dc1e48bd7f Makefile.pre.in --- a/Makefile.pre.in Mon Feb 27 22:43:17 2012 +0100 +++ b/Makefile.pre.in

[issue13405] Add DTrace probes

2012-02-27 Thread Marc Abramowitz
Marc Abramowitz added the comment: I get a build error on FreeBSD 9.0: make: don't know how to make ./Include/phelper_offsets.h. Stop Any ideas? -- ___ Python tracker ___

[issue13405] Add DTrace probes

2012-02-27 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Marc, OpenIndiana is one of the platforms I am testing myself :-). If you can try FreeBSD 9.0, that would be amazing. I have committed the skip of "jstack()" test in "darwin", since we know that the code is not actually ported to MacOS X. The main complexit

[issue13405] Add DTrace probes

2012-02-26 Thread Marc Abramowitz
Marc Abramowitz added the comment: All tests pass on OpenIndiana b151A (SunOS openindiana 5.11 oi_151a2 i86pc i386 i86pc Solaris). -- ___ Python tracker ___ ___

[issue13405] Add DTrace probes

2012-02-26 Thread Marc Abramowitz
Marc Abramowitz added the comment: Hi Jesús, Yes, I'm on an x86 machine. A MacBook Pro with OS X 10.6.8. I'll try to hop on Google Talk during the week. I'm on the west coast of the U.S. (GMT-8) so it might be tricky to find a mutually good time. Here's the result of the tests - like you sai

[issue13405] Add DTrace probes

2012-02-22 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Marc, the memory invalid accesses are because you are enabling all probes and printing three parameters, but each probe actually has a different number of parameters and different meaning for them. Current version: """ provider python { probe function__e

[issue13405] Add DTrace probes

2012-02-22 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Marc, if you have a XMPP account (for instance, gtalk), we can chat online and work together on this. My JID is j...@jabber.org. I am in Spain, so Central European Time timezone (GMT+1, +2 under DST). -- ___ Pytho

[issue13405] Add DTrace probes

2012-02-22 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Marc, the MacOS X support is planned, but I want first to finish the Solaris support 100%. I am working with other people in being sure this patch works in a standard Solaris machine (my machines are heavily tuned, GNU tools installed, GCC, extra libraries,

[issue13405] Add DTrace probes

2012-02-22 Thread Marc Abramowitz
Marc Abramowitz added the comment: I noticed that jcea already had some commented out stuff for OS X in his configure.in. I tried it out and stuff builds and works in a basic way, although it might not be fully functional. ``` ~/src/python-hg/cpython-2011$ hg diff configure.in diff -r b50130

[issue13405] Add DTrace probes

2012-02-22 Thread Marc Abramowitz
Marc Abramowitz added the comment: My understanding of DTrace is extremely shallow, but I think there is a major difference in how USDT probes are created between Solaris and OS X. Whereas on Solaris one generates object code using the -G option of dtrace and then links it in with the applica

[issue13405] Add DTrace probes

2012-02-22 Thread Marc Abramowitz
Marc Abramowitz added the comment: With an hg checkout, I don't run into the `offsetof` problem - it fails when it gets to calling dtrace to generate Python/dtrace.o (again -G is the culprit). ``` $ hg clone https://hg.jcea.es/cpython-2011/ $ cd cpython-2011 $ hg update dtrace-issue13405_2.7 $

[issue13405] Add DTrace probes

2012-02-21 Thread Marc Abramowitz
Marc Abramowitz added the comment: Jesús said he was focusing on Solaris and couldn't help with OS X. Not sure if anyone else was going to try tackling that... Just tried the patch `issue13405_4027.diff` on OS X 10.6.8. First problem I ran into was: gcc -fno-strict-aliasing -DNDEBUG -g -fwra

[issue13405] Add DTrace probes

2012-02-21 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Dave, I am in Europe (Spain), and I can't afford (money and time) to go to PyCon. If you are going and are interested in pushing this, we can talk about our respectives ideas and plans, to present a consensus plan. -- ___

[issue13405] Add DTrace probes

2012-02-20 Thread Dave Malcolm
Dave Malcolm added the comment: jcea: BTW, will you be at PyCon US this year? if so, can we sprint on getting the DTrace and SystemTap hooks into CPython in some form acceptable to the rest of the CPython maintainers? -- ___ Python tracker

[issue13405] Add DTrace probes

2012-02-02 Thread Eric Snow
Changes by Eric Snow : -- nosy: +eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue13405] Add DTrace probes

2012-02-02 Thread Stan Cox
Stan Cox added the comment: This is a subset of the dtrace patch and consists of the minimal functionality needed by systemtap. The only files that are changed from upstream sources are as follows. * configure/configure.in * Makefile.pre.in * pyconfig.h.in Same changes as the dtrace patch ex

[issue13405] Add DTrace probes

2012-01-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: > So, yes. The code is intrusive. The code deals with a lot of internal > machinery (PEP393 support in the ustack helper was quite difficult). > It is going to break from time to time, sure. At the same time, I am > committed to support it. And even if it is dro

[issue13405] Add DTrace probes

2012-01-20 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: My point about DTrace probes is not performance per-se but observability. An OS with DTrace support can be completely inspected and shows you ALL the inner working. You can see a particular pattern in the operating system and locate the syscalls and the proc

[issue13405] Add DTrace probes

2012-01-20 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue13405] Add DTrace probes

2012-01-20 Thread anatoly techtonik
anatoly techtonik added the comment: I am an almost complete 0 in C system programming and in DTrace matters, but I feel like DTrace has a potential to help me understand internal CPython processes better. If maintenance of the code with DTrace is hard, there are several ways to make it easier:

[issue13405] Add DTrace probes

2012-01-19 Thread Dave Malcolm
Dave Malcolm added the comment: On Fri, 2012-01-20 at 04:46 +, Benjamin Peterson wrote: > Benjamin Peterson added the comment: > > As great as a tool it maybe, it's still only available on a minority > platform. So I couldn't really try it. FWIW, the analogous systemtap patch works great

[issue13405] Add DTrace probes

2012-01-19 Thread Benjamin Peterson
Benjamin Peterson added the comment: As great as a tool it maybe, it's still only available on a minority platform. So I couldn't really try it. -- ___ Python tracker ___ _

[issue13405] Add DTrace probes

2012-01-19 Thread John Levon
John Levon added the comment: I would strongly suggest those of you who are not "getting it" to actually try Jesus's patch out in some real scenarios. You'll quickly see what the benefit is. I think some of you are missing that it's a *not* just about performance: it's a system comprehension

[issue13405] Add DTrace probes

2012-01-19 Thread Glyph Lefkowitz
Glyph Lefkowitz added the comment: Charles-François: > Also, I must admit I'm quite skeptical about the real benefit of explicit probes for user-land, especially for CPython which isn't used for performance-critical systems... I beg to differ. CPython is totally used on performance-critical sy

[issue13405] Add DTrace probes

2012-01-19 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: NOTE to myself: In OpenIndiana we could have this error: """ dtrace: failed to compile script ./Include/phelper.d: Preprocessor not found """ In that case, we must install the C preprocessor: """ pfexec pkg install cpp """ I confirm that current 3.3 patch w

[issue13405] Add DTrace probes

2012-01-19 Thread Benjamin Peterson
Benjamin Peterson added the comment: I'm -1 on this patch for essentially the same reasons as Charles-François. It introduces a lot of code (and hacks!) in critical pathways of the interpreter. Someone would have to be constantly maintaining and testing it. In return, what do we get? ---

[issue13405] Add DTrace probes

2012-01-19 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Code ready for commit. Please, review. After the first commit, I will try to make it compatible with MacOS and FreeBSD. Current target is Solaris and derivatives (OpenIndiana, for instance) Stan Cox, if you want systemtap compatibility at this moment, pleas

  1   2   >