From owner-freebsd-ppc@FreeBSD.ORG Mon Oct 15 18:39:10 2012 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 77E1E817 for ; Mon, 15 Oct 2012 18:39:10 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from smtp.fgznet.ch (mail.fgznet.ch [81.92.96.47]) by mx1.freebsd.org (Postfix) with ESMTP id 0BAE08FC0A for ; Mon, 15 Oct 2012 18:39:09 +0000 (UTC) Received: from deuterium.andreas.nets (dhclient-91-190-14-19.flashcable.ch [91.190.14.19]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id q9FId62W083924; Mon, 15 Oct 2012 20:39:07 +0200 (CEST) (envelope-from andreast-list@fgznet.ch) Message-ID: <507C584A.2000109@fgznet.ch> Date: Mon, 15 Oct 2012 20:39:06 +0200 From: Andreas Tobler User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.5; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 MIME-Version: 1.0 To: Justin Hibbits Subject: Re: CFT: Dtrace on PowerPC References: <20121009190838.283976e1@narn.knownspace> <507561A4.5040902@fgznet.ch> <50773674.3050802@fgznet.ch> <20121011185849.77dcd002@narn.knownspace> <507C5000.2030303@fgznet.ch> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.64 on 81.92.96.47 Cc: freebsd-ppc@freebsd.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Oct 2012 18:39:10 -0000 On 15.10.12 20:07, Justin Hibbits wrote: > Hi Andreas, > > On Mon, Oct 15, 2012 at 2:03 PM, Andreas Tobler > wrote: > > Hi Justin, > > > On 12.10.12 00:58, Justin Hibbits wrote: > > Let me try this one more time (serves me right for doing multiple > projects in one tree). > > I hope I got this one right. (I swear I've tested all this code!) > > > I have some questions: > > This one is currently an 'emtpy' file, right? > > - sys/cddl/dev/dtrace/powerpc/__regset.h > > > Correct. It's unused by ppc (and mips, which just copies the x86 one). > I haven't yet decided if I should keep an empty file (copyright-only > like other files) or remove it altogether. Fine. Then I did it right. > These are not built yet, correct? > > - sys/modules/dtrace/lockstat, profile > > > Correct. Although I don't see a reason they shouldn't be, so my next > patch (which will also attempt ppc64) may enable them. Enabling them is simple, at least from the compilation pov. > How did you test, iow. did you try some tests from the dtracetoolkit > or did you write your own sampling routines? > > > I just ran a simple 'dtrace -n '. Nothing fancy, didn't try the > dtracetoolkit. I'll try that tonight or tomorrow. Happy panicking :) I play around with a netboot env. So it is not that dramatic. Well, I'm a very newbie here and it seems that I have to hit my head. Thanks! Andreas