Mac OS X and the Missing Probes

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.”

50 Comments

  1. 2008-01-19 9:51 pm
    • 2008-01-19 10:27 pm
    • 2008-01-21 1:31 am
  2. 2008-01-19 10:00 pm
    • 2008-01-19 10:18 pm
      • 2008-01-19 11:43 pm
      • 2008-01-19 11:49 pm
        • 2008-01-20 12:04 am
          • 2008-01-20 1:10 am
          • 2008-01-21 1:34 am
          • 2008-01-21 1:46 am
        • 2008-01-20 1:57 am
        • 2008-01-21 9:53 am
    • 2008-01-20 1:37 am
  3. 2008-01-19 11:08 pm
  4. 2008-01-19 11:08 pm
    • 2008-01-20 10:12 am
    • 2008-01-20 9:19 pm
      • 2008-01-21 1:31 am
  5. 2008-01-19 11:26 pm
  6. 2008-01-19 11:34 pm
    • 2008-01-20 5:06 am
  7. 2008-01-19 11:35 pm
  8. 2008-01-20 3:19 am
    • 2008-01-20 3:47 am
      • 2008-01-20 5:46 am
        • 2008-01-20 6:28 am
    • 2008-01-20 6:50 am
      • 2008-01-20 9:42 am
        • 2008-01-20 10:23 am
          • 2008-01-20 11:05 am
        • 2008-01-20 9:24 pm
        • 2008-01-21 6:20 am
  9. 2008-01-20 10:17 am
  10. 2008-01-20 10:50 am
  11. 2008-01-20 1:49 pm
    • 2008-01-20 2:04 pm
      • 2008-01-20 2:55 pm
        • 2008-01-20 2:59 pm
          • 2008-01-20 4:11 pm
          • 2008-01-20 4:23 pm
          • 2008-01-20 4:42 pm
          • 2008-01-20 4:36 pm
          • 2008-01-20 4:45 pm
  12. 2008-01-20 4:15 pm
    • 2008-01-20 6:47 pm
  13. 2008-01-20 8:29 pm
  14. 2008-01-20 9:01 pm
  15. 2008-01-21 3:33 am