[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 ___ ___

[issue13405] Add DTrace probes

2015-01-14 Thread Augie Fackler
Changes by Augie Fackler li...@durin42.com: -- nosy: +durin42 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___ ___ Python-bugs-list mailing

[issue13405] Add DTrace probes

2014-12-26 Thread Nikhil Benesch
Changes by Nikhil Benesch nikhil.bene...@gmail.com: -- nosy: +benesch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___ ___ Python-bugs-list

[issue13405] Add DTrace probes

2014-06-26 Thread Xavier Morel
Changes by Xavier Morel xavier.mo...@masklinn.net: -- nosy: +xmorel ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___ ___ Python-bugs-list

[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 rep...@bugs.python.org

[issue13405] Add DTrace probes

2014-05-02 Thread Shawn
Changes by Shawn binarycrusa...@gmail.com: -- nosy: +swalker ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___ ___ Python-bugs-list mailing

[issue13405] Add DTrace probes

2014-03-19 Thread John Beck
Changes by John Beck john.b...@oracle.com: -- nosy: +jbeck ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___ ___ Python-bugs-list mailing

[issue13405] Add DTrace probes

2013-10-18 Thread koobs
Changes by koobs koobs.free...@gmail.com: -- nosy: +koobs ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___ ___ Python-bugs-list mailing

[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

[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: 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

[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 the

[issue13405] Add DTrace probes

2013-10-18 Thread Martin Marcher
Changes by Martin Marcher mar...@marcher.name: -- nosy: -serverhorror ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___ ___

[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 r...@freitagsrunde.org: -- nosy: +Robert.Buchholz ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___ ___

[issue13405] Add DTrace probes

2013-04-12 Thread Tadas Barzdžius
Changes by Tadas Barzdžius ret...@gmail.com: -- nosy: +Tadas.Barzdžius ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___ ___

[issue13405] Add DTrace probes

2013-01-20 Thread Trent Nelson
Changes by Trent Nelson tr...@snakebite.org: -- nosy: +trent ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___ ___ Python-bugs-list mailing

[issue13405] Add DTrace probes

2012-10-04 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- hgrepos: +151 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___ ___ Python-bugs-list mailing

[issue13405] Add DTrace probes

2012-10-04 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: Added file: http://bugs.python.org/file27416/775eeaf1a707.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___

[issue13405] Add DTrace probes

2012-10-04 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: Added file: http://bugs.python.org/file27417/9030a207c5d6.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___

[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-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: 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

[issue13405] Add DTrace probes

2012-08-29 Thread Robert Kern
Changes by Robert Kern robert.k...@gmail.com: -- nosy: -robert.kern ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___ ___ Python-bugs-list

[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-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 tracker

[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(int);

[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

[issue13405] Add DTrace probes

2012-08-10 Thread Francois Dion
Changes by Francois Dion francois.d...@gmail.com: -- nosy: +Francois.Dion ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___ ___

[issue13405] Add DTrace probes

2012-07-08 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es 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.

[issue13405] Add DTrace probes

2012-07-07 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es 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 rep...@bugs.python.org

[issue13405] Add DTrace probes

2012-07-07 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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 j...@jcea.es added the comment: Antoine, thanks. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___ ___ Python-bugs-list

[issue13405] Add DTrace probes

2012-07-07 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es 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

[issue13405] Add DTrace probes

2012-07-07 Thread Larry Hastings
Changes by Larry Hastings la...@hastings.org: -- nosy: -larry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___ ___ Python-bugs-list

[issue13405] Add DTrace probes

2012-07-07 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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-06 Thread Justin Venus
Justin Venus justin.ve...@gmail.com 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.

[issue13405] Add DTrace probes

2012-07-03 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: Added file: http://bugs.python.org/file26247/56ac083c60dc.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___

[issue13405] Add DTrace probes

2012-07-03 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: Added file: http://bugs.python.org/file26248/d12ded643482.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___

[issue13405] Add DTrace probes

2012-07-03 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es 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

[issue13405] Add DTrace probes

2012-07-03 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- versions: +Python 3.4 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___ ___

[issue13405] Add DTrace probes

2012-07-03 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: Removed file: http://bugs.python.org/file25192/aa2dcffa267f.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___

[issue13405] Add DTrace probes

2012-07-03 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: Removed file: http://bugs.python.org/file25203/4a072278b866.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___

[issue13405] Add DTrace probes

2012-06-07 Thread Marc Abramowitz
Marc Abramowitz msabr...@gmail.com 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]

[issue13405] Add DTrace probes

2012-06-07 Thread Marc Abramowitz
Marc Abramowitz msabr...@gmail.com 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

[issue13405] Add DTrace probes

2012-06-07 Thread Marc Abramowitz
Marc Abramowitz msabr...@gmail.com 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

[issue13405] Add DTrace probes

2012-06-07 Thread Marc Abramowitz
Marc Abramowitz msabr...@gmail.com 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

[issue13405] Add DTrace probes

2012-06-07 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es added the comment: Marc, please, check your GTalk/XMPP window :-) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___

[issue13405] Add DTrace probes

2012-05-10 Thread Dave Malcolm
Dave Malcolm dmalc...@redhat.com 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

[issue13405] Add DTrace probes

2012-04-20 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es 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-20 Thread Frank Ch. Eigler
Frank Ch. Eigler f...@elastic.org 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

[issue13405] Add DTrace probes

2012-04-20 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es 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,

[issue13405] Add DTrace probes

2012-04-13 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: Added file: http://bugs.python.org/file25203/4a072278b866.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___

[issue13405] Add DTrace probes

2012-04-13 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: Removed file: http://bugs.python.org/file25193/1e4d2c51b2d9.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___

[issue13405] Add DTrace probes

2012-04-13 Thread anatoly techtonik
Changes by anatoly techtonik techto...@gmail.com: -- nosy: -techtonik ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___ ___

[issue13405] Add DTrace probes

2012-04-12 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: Removed file: http://bugs.python.org/file24281/5458412752d5.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___

[issue13405] Add DTrace probes

2012-04-12 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: Removed file: http://bugs.python.org/file24283/f86bb02fd8f4.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___

[issue13405] Add DTrace probes

2012-04-12 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: Added file: http://bugs.python.org/file25192/aa2dcffa267f.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___

[issue13405] Add DTrace probes

2012-04-12 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: Added file: http://bugs.python.org/file25193/1e4d2c51b2d9.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___

[issue13405] Add DTrace probes

2012-04-12 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es 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

[issue13405] Add DTrace probes

2012-04-12 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es 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 rep...@bugs.python.org

[issue13405] Add DTrace probes

2012-03-25 Thread Marc Abramowitz
Marc Abramowitz msabr...@gmail.com added the comment: Hey Jesús, Let me know if you need any additional help testing. Marc -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___

[issue13405] Add DTrace probes

2012-02-29 Thread Philip Jenvey
Changes by Philip Jenvey pjen...@underboss.org: -- nosy: -pjenvey ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___ ___ Python-bugs-list

[issue13405] Add DTrace probes

2012-02-28 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es 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

[issue13405] Add DTrace probes

2012-02-28 Thread Wilfredo Sanchez
Wilfredo Sanchez wsanc...@wsanchez.net 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

[issue13405] Add DTrace probes

2012-02-28 Thread Philip Jenvey
Philip Jenvey pjen...@underboss.org added the comment: Actually 10.5 was the last PowerPC release -- nosy: +pjenvey ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___

[issue13405] Add DTrace probes

2012-02-28 Thread Marc Abramowitz
Marc Abramowitz msabr...@gmail.com 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

[issue13405] Add DTrace probes

2012-02-28 Thread Marc Abramowitz
Marc Abramowitz msabr...@gmail.com 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

[issue13405] Add DTrace probes

2012-02-28 Thread Marc Abramowitz
Marc Abramowitz msabr...@gmail.com 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.

[issue13405] Add DTrace probes

2012-02-28 Thread Marc Abramowitz
Marc Abramowitz msabr...@gmail.com 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 rep...@bugs.python.org

[issue13405] Add DTrace probes

2012-02-28 Thread Larry Hastings
Changes by Larry Hastings la...@hastings.org: -- nosy: +larry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___ ___ Python-bugs-list mailing

[issue13405] Add DTrace probes

2012-02-27 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es 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

[issue13405] Add DTrace probes

2012-02-27 Thread Marc Abramowitz
Marc Abramowitz msabr...@gmail.com 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 rep...@bugs.python.org http://bugs.python.org/issue13405

[issue13405] Add DTrace probes

2012-02-27 Thread Marc Abramowitz
Marc Abramowitz msabr...@gmail.com 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

[issue13405] Add DTrace probes

2012-02-27 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es 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. -- ___

[issue13405] Add DTrace probes

2012-02-26 Thread Marc Abramowitz
Marc Abramowitz msabr...@gmail.com 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

[issue13405] Add DTrace probes

2012-02-26 Thread Marc Abramowitz
Marc Abramowitz msabr...@gmail.com added the comment: All tests pass on OpenIndiana b151A (SunOS openindiana 5.11 oi_151a2 i86pc i386 i86pc Solaris). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405

[issue13405] Add DTrace probes

2012-02-22 Thread Marc Abramowitz
Marc Abramowitz msabr...@gmail.com 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

[issue13405] Add DTrace probes

2012-02-22 Thread Marc Abramowitz
Marc Abramowitz msabr...@gmail.com 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

[issue13405] Add DTrace probes

2012-02-22 Thread Marc Abramowitz
Marc Abramowitz msabr...@gmail.com 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

[issue13405] Add DTrace probes

2012-02-22 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es 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,

[issue13405] Add DTrace probes

2012-02-22 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es 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). --

[issue13405] Add DTrace probes

2012-02-22 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es 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

[issue13405] Add DTrace probes

2012-02-21 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es 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-21 Thread Marc Abramowitz
Marc Abramowitz msabr...@gmail.com 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

[issue13405] Add DTrace probes

2012-02-20 Thread Dave Malcolm
Dave Malcolm dmalc...@redhat.com 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? -- ___

[issue13405] Add DTrace probes

2012-02-02 Thread Stan Cox
Stan Cox s...@redhat.com 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

[issue13405] Add DTrace probes

2012-02-02 Thread Eric Snow
Changes by Eric Snow ericsnowcurren...@gmail.com: -- nosy: +eric.snow ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___ ___ Python-bugs-list

[issue13405] Add DTrace probes

2012-01-21 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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

[issue13405] Add DTrace probes

2012-01-20 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com 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

[issue13405] Add DTrace probes

2012-01-20 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___ ___ Python-bugs-list

[issue13405] Add DTrace probes

2012-01-20 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es 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

[issue13405] Add DTrace probes

2012-01-19 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: Added file: http://bugs.python.org/file24281/5458412752d5.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___

[issue13405] Add DTrace probes

2012-01-19 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: Added file: http://bugs.python.org/file24282/f86bb02fd8f4.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___

[issue13405] Add DTrace probes

2012-01-19 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: Added file: http://bugs.python.org/file24283/f86bb02fd8f4.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___

[issue13405] Add DTrace probes

2012-01-19 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: Removed file: http://bugs.python.org/file23920/f73be85b9a7e.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___

[issue13405] Add DTrace probes

2012-01-19 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: Removed file: http://bugs.python.org/file23921/43d1a819a63d.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___

[issue13405] Add DTrace probes

2012-01-19 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es 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

[issue13405] Add DTrace probes

2012-01-19 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org 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

  1   2   >