LWN.net Logo

Opening Solaris opens door to community, derivative distros (NewsForge)

NewsForge covers OpenSolaris derivatives. "Since the OpenSolaris community was launched in June, at least three derivative distributions -- SchilliX, BeleniX, and Nexenta -- have been created and released. Parts of OpenSolaris are also making their way into other operating systems. A port of DTrace is in the works for FreeBSD."
(Log in to post comments)

Porting DTrace to Linux?

Posted Dec 5, 2005 21:30 UTC (Mon) by felixfix (subscriber, #242) [Link]

Leaving aside possible license incompatibilities for the moment, does anyone know about porting DTrace to Linux? I have no burning desire to use it, I am just curious ... are the kernel internal differences so great as to make it a real mess, or are the changes to support DTrace mostly additions to the kernel instead of changes?

Porting DTrace to Linux?

Posted Dec 5, 2005 22:43 UTC (Mon) by rahulsundaram (subscriber, #21946) [Link]

Not a direct port but one that implements similar functionality is System Tap

http://sourceware.org/systemtap/

http://www.redhat.com/magazine/011sep05/features/systemtap/

Might want to look into that

Porting DTrace to Linux?

Posted Dec 6, 2005 8:08 UTC (Tue) by AnswerGuy (guest, #1256) [Link]

Linux has developing it's own support for LTT, KProbes and DProbes for a few years now as this link back into the LWN Archives: 2.5 merge candidate list (circa 2002) shows.

RHEL5 will apparently be finally integrating some of the fruits of this effort into a mainstream distribution release early next year (with their SystemTap work).

Given the level of native work that's already been done there'd be no point in "porting" the OpenSolaris DTrace kernel features to Linux. Studying the design for inspiration and doing critical comparative analysis of the designs and implementations is a great idea. There are things we may learn from it, and there are other things we may find we did even better anyway.

I could also see some value in unifying the user space tool suite and UI to some degree. Offer similar features, command names, switches, menus and display and output formats wherever that makes sense so that analysts and mostly use the different systems with as little retraining as the problem domain allows.

Of course the semantics of the two systems are different enough that some differences will not be abstracted away, Linux clone() and the VDSO stuff (using sysenter rather than INT 0x80H) is not something to try to hide behind an abstraction layer in kernel tracing and analsis tools).

When you realize that tools like LTT and DProbes are as useful for systems administration troubleshooting and applications as for kernel developers and then when you realize how many more sysadmins and application programmers are going to use them, then you understand how important these tools really are.

Jim Dennis

Thanks

Posted Dec 6, 2005 15:43 UTC (Tue) by felixfix (subscriber, #242) [Link]

I perhaps used the wrong word, "porting" ... I meant anything similar, however vaguely, whether a mirror clone, a poor clone, inspired by, orthogonal to, whatever. It's not something I would use much if at all. I do like writing threaded C code, maybe this would be handy sometime, maybe not. Maybe it will be fun to play with some day. But it's interesting to know the state of it on Linux.

Opening Solaris opens door to community, derivative distros (NewsForge)

Posted Dec 7, 2005 5:07 UTC (Wed) by sha (guest, #34385) [Link]

Hi All,
For someone who has just used linux for years, how good / easy would it be to learn opensolaris? Do you all think it is worth the while?

Copyright © 2005, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds