DTrace reaches prime time on FreeBSD

NEWS

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 on Monday.

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 Joneses
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

Awesome news.

FreeBSD is getting more popular since the release of 6.1 which supports Java 1.5 smoothly ;)

Arab Network
http://www.WeArab.Net/

via Facebook 1 June, 2006 08:04
Reply

Post your comment

In order to post a comment you need to be registered and logged in.

You can also log in with Facebook. Log in or create your ZDNet UK account below

  • Login

Will not be displayed with your comment

By signing up for this service, you indicate that you agree to our Terms and Conditions and have read and understood our Privacy Policy. Questions about membership? Find the answers in the Community FAQ

Get ZDNet UK's daily newsletter

Enter your email address to sign up

ZDNet UK Live

Freebies202

Duplicate comments are not made intentionally. Its very good to know that now you are keeping check on this problem because sometimes a commenter...

9 hours ago by Freebies202 on Microsoft fixes blog comments, speeds up blogs with open source
kevinmchapman

"the very significant number of users" and "many (most) of us" - you have no evidence for these statements. It is a fact that most users are saying...

17 hours ago by kevinmchapman on A tale of two distros: Ubuntu and Linux Mint
Marg Menzies Harrison

Another grammar faux pas is the improper use of "you". When sitting down down in a restaurant, for example, I get cringe when the waitress...

18 hours ago by Marg Menzies Harrison via Facebook on 10 flagrant grammar mistakes that make you look stupid
zdnetukuser

And NOW, folks, for Canonical's next trick... Kubuntu is late. Here's a pencil. Draw your own conclusions. cf.:...

19 hours ago by zdnetukuser on Linux Minterface
Moley

@kevinmchapman. The discussion here reflects the very significant number of users who really do like the traditional menu system and who wish to...

21 hours ago by Moley on A tale of two distros: Ubuntu and Linux Mint
kevinmchapman

Er, no... It is an efficient means of finding the application/file/setting you need in one place. The icons are a simply a fallback for when you...

22 hours ago by kevinmchapman on A tale of two distros: Ubuntu and Linux Mint
TerryRK

Isn't the provision of a text based search an admission by the developers that the mass of icons approach does not work? I don't need to use a...

24 hours ago by TerryRK on A tale of two distros: Ubuntu and Linux Mint
kevinmchapman

"Unity and GNOME 3 both abandon the old text-based cascading menus in favour of a graphical icon-driven system." Point truly missed. Both use a...

1 day ago by kevinmchapman on A tale of two distros: Ubuntu and Linux Mint
TerryRK

whs001 - Thank you, I'm glad you liked the article. I absolutely agree with you on your first point. I should perhaps have made it clearer that...

1 day ago by TerryRK on A tale of two distros: Ubuntu and Linux Mint
Dennis Nilsson

If we allow corporate interest to dictate the way our government circumvents due process against foreign entities then we should accept the same...

1 day ago by Dennis Nilsson via Facebook on ACTA stumbles in Germany
GHar123

I totally dislike pirating of works, I fear that artists will be deterred from creating works if they think that they are going to get ripped off....

1 day ago by GHar123 on ACTA stumbles in Germany
JCB33

How dare film makers, artists or anybody that invests in creativity stop us pirating their works for free. I want to be able to walk into my local...

1 day ago by JCB33 on ACTA stumbles in Germany
Moley

@GrueMaster. I prefer horses for courses rather than one size fits all. I, and I suspect most other computer users, do not really wish to have...

1 day ago by Moley on A tale of two distros: Ubuntu and Linux Mint
greycynic

The product that scares me every time I have to use it is the Office 2007 version of Excel. The first bug that I found was applying the median...

1 day ago by greycynic on Ten flawed products that derail productivity
GrueMaster

Nice review and very informative. One thing I'd like to add (in reply to whs001's 1st question), the main reason to have the same interface from...

2 days ago by GrueMaster on A tale of two distros: Ubuntu and Linux Mint
Frederick Wrigley

I'be been using Mint 12 since the RC came out, and I am far more happy with the Cinnamon, the Mate, and, yes (with extensions), theGnome 3...

2 days ago by Frederick Wrigley via Facebook on A tale of two distros: Ubuntu and Linux Mint
bdantas

Excellent article. One small correction, though--although a fresh installation of Linux Mint 12 will, indeed, provide the user with a version of...

2 days ago by bdantas on A tale of two distros: Ubuntu and Linux Mint
Alan Ralph

In related news, the ISPs club together to get the members of the Home Affairs Select Committee (ya goofed on that part, ZDNet UK) copies of "The...

2 days ago by Alan Ralph via Facebook on MPs urge ISPs to take down terrorist material
Alan Ralph

In related news, the ISPs club together to get the members of the Home Affairs Select Committee (ya goofed on that part, ZDNet UK) copies of "The...

2 days ago by Alan Ralph via Facebook on MPs urge ISPs to take down terrorist material
Moley

For Gnome 2 die-hards, it is possible to add icons to the bottom panel (or top top panel, if you prefer) which provide the exact Gnome 2...

2 days ago by Moley on A tale of two distros: Ubuntu and Linux Mint

Latest in Application Development