{"id":40543,"date":"2023-09-04T15:24:31","date_gmt":"2023-09-04T19:24:31","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=40543"},"modified":"2023-09-06T11:28:17","modified_gmt":"2023-09-06T15:28:17","slug":"dtrace-at-20","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2023\/09\/04\/dtrace-at-20\/","title":{"rendered":"DTrace at 20"},"content":{"rendered":"<p><a href=\"https:\/\/mastodon.social\/@bcantrill\/111003951540296198\">Bryan Cantrill<\/a>:<\/p>\n<blockquote cite=\"https:\/\/mastodon.social\/@bcantrill\/111003951540296198\"><p>Two decades ago today, DTrace integrated into the operating system. Much has changed in the last 20 years -- but one thing has remained true: we ourselves still use it on a daily basis.<\/p><p>[&#8230;]<\/p><p>I reminisced a bit after the <a href=\"http:\/\/dtrace.org\/blogs\/bmc\/2008\/09\/03\/happy-5th-birthday-dtrace\/\">5th anniversary<\/a> (15 years ago!), describing in particular the harrowing day before we integrated.<\/p><p>That day continues to be memorable; @ahl and I talked about it on a <a href=\"https:\/\/www.youtube.com\/watch?v=r3qZJBfHI0Y&amp;t=988s\">recent episode of Oxide and Friends<\/a>.<\/p><p>Ten years ago -- on <a href=\"http:\/\/dtrace.org\/blogs\/bmc\/2013\/09\/03\/happy-10th-birthday-dtrace\/\">DTrace&rsquo;s 10th birthday<\/a> -- I described some of the things that we had added to DTrace over that decade.<\/p><\/blockquote>\n\n<p><a href=\"https:\/\/mastodon.social\/@nikclayton\/111006191601200817\">Nik<\/a>:<\/p>\n<blockquote cite=\"https:\/\/mastodon.social\/@nikclayton\/111006191601200817\"><p>Back in the day <a href=\"https:\/\/nikclayton.wordpress.com\/2006\/07\/04\/raison-detre\/\">Sun ran a contest<\/a>, &ldquo;Try before you buy&rdquo;. Get a machine (an Ultra 60, IIRC), for 60 days shipped to you free.<\/p><p>Blog about something interesting you did with it, enter the contest, and maybe win the machine.<\/p><p>I instrumented Sendmail with DTrace, evaluating different queuing strategies (along with a comparison of Solaris and FreeBSD on the machine). Found a sendmail bug along the way, and won the contest.<\/p><\/blockquote>\n\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2016\/12\/20\/dtrace-at-home\/\">DTrace at Home<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2015\/12\/10\/not-your-mac-anymore\/\">Not Your Mac, Anymore<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2015\/07\/12\/system-integrity-protection-a-k-a-rootless\/\">System Integrity Protection (a.k.a. Rootless)<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2013\/02\/08\/hooked-on-dtrace\/\">Hooked on DTrace<\/a><\/li>\n<\/ul>\n\n<p id=\"dtrace-at-20-update-2023-09-06\">Update (2023-09-06): <a href=\"https:\/\/appdot.net\/@lapcatsoftware\/111008553960749391\">Jeff Johnson<\/a>:<\/p>\n<blockquote cite=\"https:\/\/appdot.net\/@lapcatsoftware\/111008553960749391\"><p>It&rsquo;s so sad what SIP has done to DTrace on Mac, rendered it almost useless.<\/p><p>iPologists always say &ldquo;You can disable SIP&rdquo;, but as a developer you really can&rsquo;t, because then your testing environment is very different from your customers&rsquo; environment.<\/p><\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Bryan Cantrill: Two decades ago today, DTrace integrated into the operating system. Much has changed in the last 20 years -- but one thing has remained true: we ourselves still use it on a daily basis.[&#8230;]I reminisced a bit after the 5th anniversary (15 years ago!), describing in particular the harrowing day before we integrated.That [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2023-09-04T19:24:34Z","apple_news_api_id":"520c0068-b2aa-4257-9885-64ff3ed82ed1","apple_news_api_modified_at":"2023-09-06T15:28:19Z","apple_news_api_revision":"AAAAAAAAAAAAAAAAAAAAAA==","apple_news_api_share_url":"https:\/\/apple.news\/AUgwAaLKqQleYhWT_Ptgu0Q","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[4],"tags":[2070,56,75,323,30,2223,1253,1235],"class_list":["post-40543","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-anniversary","tag-debugging","tag-developertool","tag-dtrace","tag-mac","tag-macos-13-ventura","tag-sun-microsystems","tag-system-integrity-protection"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/40543","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=40543"}],"version-history":[{"count":2,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/40543\/revisions"}],"predecessor-version":[{"id":40560,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/40543\/revisions\/40560"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=40543"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=40543"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=40543"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}