01/25/2008, 11:30am, EST
Friday, January 25th
Apple circumvents DTrace open source utility
Some open source developers are upset with Apple for "undermining" a key piece of open source software called DTrace in Mac OS X. Apple's introduction of a feature that allows programs like iTunes to disable tracing as well as other debugging tools is causing serious problems for open source developers, effectively rendering useless other parts of DTrace in unanticipated ways -- such as causing unrelated probes to fail while anti-tracing flags are running.
DTrace is a tracing framework that got its start at Sun Microsystems, and was later released as open source as part of OpenSolaris. The software allows developers to tune as well as troubleshoot applications and the operating system itself, according to Macworld UK.
Apple's implementation of DTrace breaks some of the utility's functionality and is "antithetical to the notion of systemic tracing, antithetical to the goals of DTrace, and antithetical to the spirit of open source," according to Adam Leventhal, one of DTrace's original developers.
"They're not just crippling DTrace in the way they intended, but also in ways that are, in some ways, more pervasive," Leventhal wrote in his blog. "It's annoying that Apple decided to disallow tracing for applications that choose to opt out, and it's a fairly serious issue, but the bigger issue is that in doing so they've broken DTrace."
Filed under: software, developer
Other story tags: open-source
,
, 6
,
,
,
,
,
,

subscribe to comments
for this article
The blog post pointed to by the article could just be posturing to get more attention on the problem, rightly or wrongly. Don't know if the developer/s had much dialog with Apple regarding the problem. It appears from the MacWorld article that there is a workaround available, and my guess is that Apple will provide a fix for this eventually...
Security researchers and anti-virus companies now have a more difficult job trying to detect malware on users' computers.
The workaround is simple - someone should release a version of dtrace that bypasses Apple's changes.
Exactly which viruses, trojans, and rootkits would those be?
They could just put in the developer's note: "DTrace does not work with iTunes or Quicktime, so do not run those programs when you actually expect DTrace to work correctly". Then again, if you're software that you're working on uses Quicktime or iTunes, you're screwed.
But that's not Apple's fault. It's those damned labels and studios! They're the ones to blame for everything!