This just in: DTrace ported to FreeBSD-current
By jmcp-Oracle on May 25, 2006
List: freebsd-current Subject: DTrace for FreeBSD - Status Update From: John BirrellI thought you might like to know. What a great way to start my day!
Date: 2006-05-25 6:55:10 Message-ID: 20060525065510.GA20475 () what-creek ! com [Download message RAW] It's nearly 8 weeks since I started porting DTrace to FreeBSD and I thought I would post a status update including today's significant emotional event. For those who don't know what DTrace is or which company designed it, here are a few links: The BigAdmin: http://www.sun.com/bigadmin/content/dtrace/ A Blurb: http://www.sun.com/2004-0518/feature/index.html The Guide: http://docs.sun.com/app/docs/doc/817-6223 My FreeBSD Project Page: http://people.freebsd.org/~jb/dtrace/index.html Much of the basic DTrace infrastructure is in place now. Of the 1039 DTrace tests that Sun runs on Solaris, 793 now pass on FreeBSD. We've got the following providers: - dtrace - profile - syscall - sdt - fbt As of today, loading those providers on a GENERIC kernel gives 32,519 probes. Today's significant emotional event added over 30,000 of those, thanks to the Function Boundary Tracing (fbt) provider. It provides the instrumentation of the entry and return of every (non-leaf) function in the kernel and (non-DTrace provider) modules. [snip script and output] There is still a lot of work to do and while that goes on, the code has to remain in the FreeBSD perforce server. It isn't ready to get merged into CVS-current yet. I have asked the perforce-admins to mirror the project out to CVS (via cvsup10.freebsd.org), but I'm not sure what the hold-up there is. I had hoped that one or two of the Google SoC students would contribute to this, but I only received one proposal and that wasn't for anything that would help get DTrace/FreeBSD completed. There are things people can do to help. Some of them are build related; some are build tool related; some are user-land DTrace specific; and the rest are kernel related. Speak up if you are interested in working on this! --- --- John Birrell