DTrace - Thanks for the breakage

Discussion in 'Mac Programming' started by Macabee, Oct 24, 2007.

  1. macrumors newbie

    Joined:
    Oct 24, 2007
    #1
    So Apple put DTrace into OSX Leopard. It's pretty cool. Have been playing with it for a large chunk of the day.

    Of course - useless without enabling it some of the languages we all use (PHP, Python and Ruby).

    So - I spent a while hacking it about with the source code....

    Now I have things like:

    Would anybody be interested in the patches for the dtrace PEAR module for PHP and the MacPorts versions of Python and Ruby? Not sure if they'll accept the patches upstream - so I want to gauge whether people want that or not.
     
  2. macrumors 6502a

    Joined:
    Dec 4, 2006
    Location:
    Katy, Texas
  3. thread starter macrumors newbie

    Joined:
    Oct 24, 2007
    #3
    yeah the Ruby one by Joyenet appears to be broken on OSX. I have created a fix patch and the mini-site will go up shortly with all the details for patching/making dtrace work with these scripting languages.
     
  4. thread starter macrumors newbie

    Joined:
    Oct 24, 2007
  5. macrumors 601

    HiRez

    Joined:
    Jan 6, 2004
    Location:
    Western US
    #5
    This sounds interesting. Can you explain how DTrace is different from other profiling tools? Does it integrate with compilers/debuggers or is it separate? Would it also be used for Objective-C/C/Cocoa?
     
  6. thread starter macrumors newbie

    Joined:
    Oct 24, 2007
    #6
    http://video.google.com/videoplay?docid=-8002801113289007228

    The author/inventor can do it a lot better than I can.
     

Share This Page