Linked by Thom Holwerda on Sat 19th Jan 2008 21:17 UTC, submitted by Francis Kuntz
Mac OS X One of the three authors of Sun's DTrace, Adam Leventhal, has discovered something very interesting using DTrace on Mac OS X. "As has been thoroughly recorded, Apple has included DTrace in Mac OS X. I've been using it as often as I have the opportunity, and it's a joy to be able to use the fruits of our labor on another operating system. But I hit a rather surprising case recently which led me to discover a serious problem with Apple's implementation." So, what is this problem? "Wow. So Apple is explicitly preventing DTrace from examining or recording data for processes which don't permit tracing. This is antithetical to the notion of systemic tracing, antithetical to the goals of DTrace, and antithetical to the spirit of open source. I'm sure this was inserted under pressure from ISVs, but that makes the pill no easier to swallow. To say that Apple has crippled DTrace on Mac OS X would be a bit alarmist, but they've certainly undermined its efficacy and, in doing do, unintentionally damaged some of its most basic functionality. To users of Mac OS X and of DTrace: Apple has done a service by porting DTrace, but let's convince them to go one step further and port it properly."
Permalink for comment 296990
To read all comments associated with this story, please click here.
He's got the source
by Tyr. on Sun 20th Jan 2008 20:29 UTC
Member since:

He's got the source, it's quoted right there in the article. So why can't someone release some sort of patch ?

And all the people who seem to think Apple is some kind of open source bogeyman should remember there are people running all kinds of modified OSX kernels (the fabled hackingtoshes) and they are able to do so precisely because of the fact the source code is open. it may not always be current, but it is out there.

Edit: toned down the rhetoric

Edited 2008-01-20 20:32 UTC

Reply Score: 2