DTrace reaches prime time on FreeBSD

A project to bring one of the most advanced features of Sun Microsystems' Solaris operating system to the FreeBSD platform has started bearing fruit.

Sun's Dynamic Tracing (DTrace) tool provides advanced performance analysis and debugging features, primarily for server software. Work began porting the tool to FreeBSD after DTrace was released under an open source licence last year.

John Birrell, the FreeBSD developer currently spearheading the effort, admits DTrace on FreeBSD does not yet do everything it does on Solaris, and the work is nowhere near completion.

"However, I agree with Sun's Bryan Cantrill that the FreeBSD port is indisputably useful," he told ZDNet Australia via e-mail today.

Cantrill, one of Sun's key DTrace developers, last week wrote on his blog that those running FreeBSD servers or developing software for the platform would want to start using Birrell's port immediately.

Birrell lauded the encouragement he had received from the Sun engineer and his team in his development effort -- the assistance extending to the supply of as-yet unreleased products.

"I've done the development in the order advised by Sun's developers ... Sun has also provided me with their test suite (which they haven't released publicly yet)," he added.

Birrell added the FreeBSD developer community had supported his efforts from the outset. "I think their reaction is much the same as mine was: 'I want that!'," he said.

Keeping up with the Jones'
According to Birrell, the FreeBSD DTrace port passes 793 of Sun's 1039 tests for the application.

"That means that there are some very exciting traces that can be done on FreeBSD right now," he said. "Every syscall can be traced, including those that are loaded in kernel modules. Every function in the kernel can be traced from the low-level interrupts up."

Birrell said an important next step for the application will be to get it integrated into the code base for the upcoming version 7 of FreeBSD.

"As part of this, the other FreeBSD architectures need to be supported. I only have access to single processor i386 machines," he said.

FreeBSD supports a number of other hardware chipsets such as Sun's SPARC, IBM's PowerPC, and 64-bit processors from AMD. "I'm hoping to get access to the other architectures to do the development work," said Birrell.

While the project was initiated by FreeBSD developer Devon O'Dell in September, Birrell said he has now taken on the work.

"In 2006 [O'Dell] didn't have much time, so there was little progress," he said. "I attended a Sun Developer Days conference in Melbourne in April, and from that I came away with a desire to investigate DTrace ... So all the work beyond Devon's initial CTF tools work has been mine."

Birrell said the biggest challenge in the work is the scope of the project. "In order for DTrace to provide a mechanism to trace everything that happens in an operating system, it has to dig itself into the very depths of the operating system's being," he said.

"Sun's OpenSolaris code is very well documented at the code level, but what isn't immediately obvious is the overall design philosophy. That is the second biggest challenge."

Talkback

Add your opinion

In order to post a comment, you need to be registered. (Sign In or register below)

Post your comment

Terms of Service - As a ZDNet registrant, and by using this service, you indicate that you agree to our Terms and Conditions and have read and understand our Privacy Policy.

ZDNet Australia Live

ZD Net: How to calculate what to move to the Windows Azure cloud http://t.co/gHWnhFHE

@ShineLawyers yes, the High Court does not allow tweeting from court room; see @joshgnosis' piece: http://t.co/eJNt1gmu re #iitrial @Duds

Apple, Samsung court ordered mediation fails: http://t.co/tqk6JiJA ^LH

Telstra GameArena hacked, 35K accounts lost http://t.co/tft1aPxH via @zdnetaustralia

by http://t.co/vmlLt4bh: CT, phone clone: Craig Thomson says his phone might have been cloned, and that's why it ... http://t.co/5b0X49iN

Twisted Wire today looks at the Craig Thomson affair. CT phone clone http://t.co/XLfsEWnJ

Facebook is killing text messaging: How quickly the world changes. What's after Facebook? http://t.co/ZiSXuXJG

@forensicdave i'm torn. i did a lol but it's gross and not sure zdnet views need to see that!

The question is not whether DDoS can be achieved or not but whether DDoS originating from compromised computers on a slower network (e.g....

2 hours ago by ChrisWatson on National Botnet Network coming: Earthwave

@jmorrill @dsturnbull Adobe did this a while back.. the flash sandbox - http://t.co/3hNbFUUp

“@zdnetaustralia: Telstra GameArena has been hacked, resulting in 35K accounts being exposed http://t.co/AspW8kHA ^ML” = LOL

Telstra GameArena has been hacked, resulting in 35K accounts being exposed http://t.co/WkKRoEo4 ^ML

Google found itself embroiled in a vicious tax debate this week. Serves it right? http://t.co/Ga14Yg6x ^ST

A threat to the iPad comes from an unlikely source: Nvidia http://t.co/lprnQLpg #technology

Telstra GameArena hacked, 35K accounts lost http://t.co/BFAztjzb via @zdnetaustralia

Australia tax inquiry opens submissions - ZDNet Australia http://t.co/slemxvIM

by http://t.co/vmlLt4bh: Much ado about Google's tax: Although scenes of political "gotchas" between Communicatio... http://t.co/ezMeAMDs

RT @zdnetaustralia: Telstra to launch its first 4G Windows phone, the HTC Titan: http://t.co/9QyDsgrT ^LH

Clever beggars!! Westpac board goes paperless with iPads http://t.co/p4mcpHr6

Seagate has bought a controlling stake in LaCie http://t.co/HL9nCrvu ^ML

RT @zdnetaustralia We've updated our HP job cuts story with comment from HP Australia: http://t.co/bWw55HjI ^LH

The inquiry into the Australia Tax is now taking submissions. Here's what it's been asked to tackle: http://t.co/ISXYvQSr ^LH

by http://t.co/vmlLt4bh: Telstra GameArena hacked, 35K accounts lost: Telstra has revealed that a third-party com... http://t.co/OtzhTwYV

Telstra GameArena hacked, 35K accounts lost http://t.co/gwj2BoEb?

Android's biggest security flaws. A good read for anyone using Android devices: http://t.co/2RpIr5Wd

#SAP launches #SuccessFactors Sydney Datacentre for hosting #cloud# products to service customers #in the region http://t.co/LjzTP98X

We've updated our HP job cuts story with comment from HP Australia: http://t.co/2MSrEnx8 ^LH

A short commentary on major Social Media stuff ups and mistakes. Remember some of these? http://t.co/iYaRwew0 #in

Westpac board goes paperless with iPads http://t.co/dBaSipFk Opportunity for an alternate revenue stream? Secure apps for business.

JobWatch: where the #jobs are http://t.co/GmTv3FbC via @zdnetaustralia

Are specific gaming development degrees bollocks? http://t.co/z2zbaWvT ^ST

Google kicks Oracle in its patent teeth | ZDNet http://t.co/0K1NGnVM

Way to go Successfactors! #SAP #SAPRocks #sydney
http://t.co/AIq71RCn

Westpac board goes paperless with iPads http://t.co/JpLtmTgW via @zdnetaustralia

Apple's next iPhone: 4-inch display; 12.5% more productivity http://t.co/1DnHrEHX

by http://t.co/vmlLt4bh: Google didn't infringe on Oracle patents: jury: A jury has unanimously decided that Goog... http://t.co/M5ftCLct

Lets throw Windows RT in the mix of Android and iOS mobile devices. Some of the management features of Windows RT means easier LOB (Line...

5 hours ago by fhemani on Windows 8 set for BYOD: Microsoft

If getting a degree was only about getting *any* job, then I would agree that a more specialised program might limit opportunities. Howe...

5 hours ago by Mario Wynands on Surely IT is more than just a game?

I'm the Chair of the NZ Game Developers Association, and have also consulted or worked for the Universities of Auckland, Otago and Waikat...

6 hours ago by sknightly on Surely IT is more than just a game?

Learning only matters if it helps you cross the bridge between where you are & where you want to be. In this respect, if where you want ...

6 hours ago by mitch.olson on Surely IT is more than just a game?

15 Oct 2007 It's a good thing that Kim Kardashian has a new show on E! titled "Keeping Up With the Kardashians" because it appears that i...

6 hours ago by Amampnema on IT Business Forum overcomes political uncertainty

As one of the founders of an 18 person game developer in NZ, I can tell you that your fears are not justified. We hire graduates from th...

6 hours ago by JonathanRogers on Surely IT is more than just a game?

@butterflyeffecs - really? Seriously?! You actually expected more of zdnet??? This article really does take the cake though - its gone we...

15 hours ago by lex on Android fragmentation steers Vic Health

Goods Shopping Location Discount Of Japan's Largest Abroad Train Brands. Coach Escape Shelter 89% Off.We Entertain Jammed Items Such As A...

17 hours ago by befeffofs on Reservoir blogs: Fan fakes Tarantino diary

1963年ナイキの創業者フィル・ナイトが訪日、オニツカ(現アシックス)の経営陣を訪問。 最新の機...

17 hours ago by Speerbprayexy on Reservoir blogs: Fan fakes Tarantino diary

17 hours ago by Ideoforie on Reservoir blogs: Fan fakes Tarantino diary

Ferragamo Shoes Is Distinguished Brand.Ferragamo Is So Baby Valuation Broaden, It Is Secure To Shopping Outlet Online Stores.Ferragamo Ba...

17 hours ago by axollaCrake on Reservoir blogs: Fan fakes Tarantino diary

We Are Specialty Fit out Miu Miu Handbags, Miu Miu Purse, Miu Miu Sunglasses And So On. Miu Miu Sale Online Big Reduction With No Trade O...

17 hours ago by MoxboowsVix on Reservoir blogs: Fan fakes Tarantino diary

Pay off Trainer Wallet&Coach Pocket In Our Coach Store With Sad Sacrifice And Finish Quality, Save 80% Off. Cheap Carriage Overnight bag ...

17 hours ago by Fefinfani on Reservoir blogs: Fan fakes Tarantino diary

クリスチャン ルブタンは靴職人としてのスピリットが強いことで有名で、インタヴューでは下記のよ...

17 hours ago by ganitaickexia on Reservoir blogs: Fan fakes Tarantino diary

Celine luggage,Celine carrier bag,pocketbook Celine,CELINE Celine is synonymous with trait and fastidiousness prevalent since founding in...

17 hours ago by unulseDralola on Reservoir blogs: Fan fakes Tarantino diary

18 hours ago by Elundaninulge on Reservoir blogs: Fan fakes Tarantino diary

Normally would expect better from zdnet. I call BS. It appears that if you look at their decision it is about using HTML5 to develop thei...

19 hours ago by butterflyeffecs on Android fragmentation steers Vic Health

oBoDwZrOrsjUq //www.2012chanelbagsforsale.com]chanel handbags gWbyPIERM niLqoOE //www.2012chanelbagsforsale.com]chanel outlet hBaJhfpEu...

19 hours ago by khngmspwbzm on Deakin Uni opts for Cisco Unified Computing

Akku Asus A32-K72 Original,Kompatibler Ersatz akku für Li-ion Asus A32-K72 Original Laptop Akkus Asus A32-K72 Original,A32-K72 Origi...

20 hours ago by akkuakku on HP Compaq 6730b

This story has been voted 10 times in the last 24 hours!

1 day ago, CeBIT 2012 opens: photos

This story has been voted 15 times in the last 24 hours!

1 day ago, Lenovo ThinkPad 3G tablet (32GB)

Facebook Activity

Keep up with ZDNet Australia

ZDNet Events Calendar

ZDNet Events Calendar