Developers, administrators, and all around geeks like to have insights into their computers and their operation that would make psychologists’ heads spin. DTrace helps with that. It even has a Mac OS X port. Sounds great until you find out that it was modified to ignore processes with a specific flag.
The expensive DTrace invocation clearly caused iTunes to do a lot more work, but DTrace was giving me no output. Which started me thinking… did they? Surely not. They wouldn’t disable DTrace for certain applications.
But that’s exactly what Apple’s done with their DTrace implementation.
The working conclusion is that Apple has done this in an attempt to slow DRM cracking, but no real explanation has been given other than the code comment:
If the thread on which this probe has fired belongs to a process marked P_LNOATTACH then this enabling is not permitted to observe it. Move along, nothing to see here.
Conspiracy theorists are rubbing their hands in glee. Thankfully, Landon Fuller is back yet again with a hack to re-enable DTrace. Hopefully now that it’s been exposed, Apple will have a change of heart about this dubious flag.
Ch-ch-ch-ch-changes afoot at MacUser
The Macalope Weekly: Leopards and monopolies and DRM! Oh, my!
Apple levels DMCA on iPodhash project
iPod touch users get second classed again with the omission of new Maps features
Apple Pro Applications Update 2008-004 makes your day
iTunes v8.0.2 comes riding on the coattails of iPhone firmware v2.2
MacUser is your source for news, info, and opinion about Apple, the Mac, and the iPod. Our dedicated team of bloggers covers everything that is relevant to Mac users — and, okay, some stuff that’s not quite relevant, but is still a lot of fun.
I find it hard to know why I should care. As I understand it DTrace is a valuable tool for a developer to use on their own products. I'm not particularly concerned if Apple has made it harder for crackers to work through their code.
@fletcher: if you read the article, you'll understand why you should care. It doesn't just undermine DTrace for iTunes but for other uses which have nothing to do with examining iTunes or other sensitive applications.