From owner-freebsd-hackers@FreeBSD.ORG Mon Jul 5 13:16:56 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 95C6516A4CE for ; Mon, 5 Jul 2004 13:16:56 +0000 (GMT) Received: from mpb4.plala.or.jp (c156253.vh.plala.or.jp [210.150.156.253]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C20143D5D for ; Mon, 5 Jul 2004 13:16:55 +0000 (GMT) (envelope-from e-kamo@trio.plala.or.jp) Received: from msvc2.plala.or.jp ([172.23.8.210]) by mpb4.plala.or.jp with SMTP id <20040705131654.VPDL19724.mpb4.plala.or.jp@msvc2.plala.or.jp> for ; Mon, 5 Jul 2004 22:16:54 +0900 Received: ( 19786 invoked from network); 5 Jul 2004 22:16:54 +0900 X-SVCK: Received: from unknown (HELO mpb1.plala.or.jp) (172.23.8.16) by msvc2 with SMTP; 5 Jul 2004 22:16:53 +0900 Received: from trio.plala.or.jp ([219.25.148.126]) by mpb1.plala.or.jp with ESMTP id <20040705131652.WDZY19716.mpb1.plala.or.jp@trio.plala.or.jp>; Mon, 5 Jul 2004 22:16:52 +0900 Message-ID: <40E95653.6020705@trio.plala.or.jp> Date: Mon, 05 Jul 2004 22:23:31 +0900 From: Eitarou Kamo User-Agent: Mozilla/5.0 (Windows; U; Win98; ja-JP; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: ja MIME-Version: 1.0 To: David Schultz , freebsd-hackers@FreeBSD.ORG References: <20040630011635.GF34501@empiric.dek.spc.org> <20040705103747.GA20487@VARK.homeunix.com> In-Reply-To: <20040705103747.GA20487@VARK.homeunix.com> X-Enigmail-Version: 0.76.8.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Article on Sun's DTrace X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jul 2004 13:16:56 -0000 Hi, David Schultz wrote: >On Wed, Jun 30, 2004, Bruce M Simpson wrote: > > >>This recently caught my eye: >>http://www.samag.com/documents/s=9171/sam0406h/0406h.htm >> >>There are a number of good sounding suggestions in there. >> >> > >DTrace is pure magic. It would be well worth your time to install >Solaris 10 just to try out DTrace for a day. Keep in mind, >however, that it took them several man-years to develop just for >sparc64 and x86, so we're not talking about a port of it any time >soon... > > See also, http://www.sun.com/bigadmin/content/dtrace/ I haven't seen above well yet. But A article says that DTrace sounds like 30,000 lines of debug print. I have written about 50 lines of debug print in my 4.10-R kernel to chase my umass issue. If the output of it exists on a trace log file, It may be one of DTrace feature. I saw the some sort of debug print lines in the kernel source of 4.10-R. If you enable them and gather the information to a file, it may be nearly equal DTrace. But I can't warrant or guarantee you the performance. DTrace may be a kinda elegant debug mode kernel, I guess. 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 ************************************************************************