DTrace on Mac OS X!

From WWDC here in San Francisco: Apple has just announced support for DTrace in Leopard, the upcoming release of Mac OS X! Often (or even usually?) announcements at conferences are more vapor than ware. In this case, though, Apple is being quite modest: they have done a tremendous amount of engineering work to bring DTrace to their platform (including, it turns out, implementing DTrace's FBT provider for PowerPC!), and they are using DTrace as part of the foundation for their new Xray performance tool. This is very exciting news, as it brings DTrace to a whole slew of new users. (And speaking personally, it will be a relief to finally have DTrace on the only computer under my roof that doesn't run Solaris!) Having laid hands on DTrace on Mac OS X myself just a few hours ago, I can tell you that while it's not yet a complete port, it's certainly enough to be uniquely useful -- and it was quite a thrill to see Objective C frames in a ustack action! So kudos to the Apple engineering team working on the port: Steve Peters, James McIlree, Terry Lambert, Tom Duffy and Sean Callanan.

It's been fun for us to work with the Apple team, and gratifying to see their results. And it isn't just rewarding for us; the entire OpenSolaris community should feel proud about this development because it gives the lie to IBM's nauseating assertion that we in the OpenSolaris community aren't in the "spirit" of open source.

So to Apple users: welcome to DTrace! (And to DTrace users: welcome to Mac OS X!) Be sure to join us in the DTrace community -- and if you're at the WWDC, we on Team DTrace will be on hand on Friday at the DTrace session, so swing by to see a demo of DTrace running on MacOS and to meet both the team at Apple that worked on the port and we at Sun who developed DTrace. And with a little luck, you might even hear Adam commemorate the occasion by singing his beautiful and enchanting ISA aria...

Update: For disbelievers, Adam posted photos -- and Mike went into greater detail on the state of the Leopard DTrace port, and what it might mean for the direction of DTrace.

Comments:

Congratulations Bryan on ever widening adoption.

Posted by Jason Hoffman on August 07, 2006 at 02:30 PM PDT #

I am excited to see this as a little bob on the bottom of xcode page, and even more excited to hear that it's not a crippled implementation. Can't wait to use the results, and look forward to seeing you Friday. -Alex

Posted by Alex Barclay on August 07, 2006 at 04:01 PM PDT #

Thanks Jason! And actually, seeing your comment, an announcement that Apple made earlier today finally clicked: given that Apple is shipping Rails in Leopard, and given that "every single Rails Core contributer is running on Apple", it seems that we will be able to see much (much!) wider adoption for DTrace on Rails. Indeed, now I'm beginning to wonder if that might just be the larger significance here...

Posted by Bryan Cantrill on August 07, 2006 at 04:02 PM PDT #

To add to the vibrancy of the moment, I've posted some pictures from our meeting with Apple's DTrace porting team over here.

Posted by Adam Leventhal on August 07, 2006 at 04:10 PM PDT #

Congradulations Bryan! Come back to Winnipeg! I wonder what this means for Apple's close sourceness (word?). Couldn't one use dtrace to break iTunes or TPM?

Posted by Karl on August 08, 2006 at 12:01 AM PDT #

Post a Comment:
Comments are closed for this entry.
About

bmc

Search

Top Tags
Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today