« | Home | Recent Comments | Categories | »

Cartoons

Posted on January 20th, 2008 at 21:37 by John Sinteur in category: Cartoon

arial1.gif

booth1.jpg

schorr.gif

stahler.gif

trever.gif


Write a comment

Mac OS X and the missing probes

Posted on January 20th, 2008 at 13:45 by John Sinteur in category: Apple

[Quote:]

I let it run for a while, made iTunes do some work, and the result when I stopped the script? Nothing. 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 notion of true systemic tracing was a bit too egalitarian for their classist sensibilities so they added this glob of lard into dtrace_probe() — the heart of DTrace:

#if defined(__APPLE__)
        /*
         * 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.
         */
        if (ISSET(current_proc()->p_lflag, P_LNOATTACH)) {
            continue;
        }
#endif /* __APPLE__ */

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.


Write a comment

Non Sequitur

Posted on January 20th, 2008 at 11:51 by John Sinteur in category: Cartoon

nq080120.gif


Write a comment

Sins and bread

Posted on January 20th, 2008 at 11:21 by John Sinteur in category: Great Picture

a sign at Fairway Supermarket in upper Manhattan:

2006-05b_077_fairway_sign.jpg

credit: Andy Tanenbaum


Write a comment

Quote

Posted on January 20th, 2008 at 11:00 by John Sinteur in category: Quote

Atheism is a non-prophet organization.

– George Carlin


Write a comment