Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Jul 2004 15:37:58 +0900
From:      Eitarou Kamo <e-kamo@trio.plala.or.jp>
To:        Daniel Ellard <ellard@eecs.harvard.edu>, freebsd-hackers@freebsd.org
Subject:   Re: Article on Sun's DTrace
Message-ID:  <40EB9A46.2050409@trio.plala.or.jp>
In-Reply-To: <20040706101140.T92636@bowser.eecs.harvard.edu>
References:  <20040706120130.3DF9816A57D@hub.freebsd.org> <20040706101140.T92636@bowser.eecs.harvard.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Dan,

Daniel Ellard wrote:

>In a nutshell, here is what DTrace is about:
>
>- It has no impact on the system when it is not used.  So you can
>	leave it in all the time, instead of having a debug kernel and
>	a production kernel.
>
>	[I don't know how they achieve the "no impact" but they claim
>	that they really mean "no", not just "negligible".]
>  
>
<snip>
</snip>

Thanks good comment. This is the one everyone, of course me too,
wants to know. I wanted to get brief instruction.


>So, you could think of it as "a million debugging printf's magically
>inserted into the kernel for you" along with a tool to analyze the
>output, but it's really much more sophisticated than that.
>
>It looks very nice.  I wish I'd had it during my forays into the
>FreeBSD kernel.  Is it hopelessly solaris-specific?  Well, I was at
>the presentation that Bryan Cantrill gave at USENIX, where he was
>asked about the possibility of porting DTrace to linux.  His response
>was something like "well, we're really trying to encourage people to
>use the *best* possible operating system, so no." (Of course, one
>might argue that this means that a FreeBSD port is imminent, but I
>don't think that's what he meant.)
>
>-Dan
>
>  
>
FreeBSD has good features such as jail, chroot e.t.c. which can controll
process or resources in parallel. So you need not port DTrace entirely.
You can implement DTrace like one from scratch. Using legacy system
sometimes makes new system feature. I would rather expect new one than
porting. DTrace is one of example, I think. You may be able to fork new 
debug
process in parallel in the future. If I dare name it, It's "B(SD)Trace"? 
But it's up to
your effort. DTrace is a pioneer work. And for the people like me who 
bothers
to put the debug lines in kernel this must be powerful tool.

Eitarou

-- 

                                            
***********************
	Eitarou Kamo

	Tel. +81 75 7035997
	Fax  +81 75 7035997
	VoIP   050 10585997(domestic only)
e-mail   e-kamo@trio.plala.or.jp

For business:
Feel free to mail me(above), please.

Donation   http://www.PayPal.Com

GPG FingerPrint:
032D FDF9 D27B 23F7 9A81 BF4C 626C FBAA BC3A 9895 
************************************************************************

                                        





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40EB9A46.2050409>