From owner-freebsd-current@FreeBSD.ORG Wed Sep 1 10:57:39 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E270710657A0 for ; Wed, 1 Sep 2010 10:57:39 +0000 (UTC) (envelope-from rpaulo@freebsd.org) Received: from karen.lavabit.com (karen.lavabit.com [72.249.41.33]) by mx1.freebsd.org (Postfix) with ESMTP id B96FE8FC0A for ; Wed, 1 Sep 2010 10:57:39 +0000 (UTC) Received: from d.earth.lavabit.com (d.earth.lavabit.com [192.168.111.13]) by karen.lavabit.com (Postfix) with ESMTP id BA99C11B902; Wed, 1 Sep 2010 05:57:38 -0500 (CDT) Received: from 10.0.10.3 (221.163.108.93.rev.vodafone.pt [93.108.163.221]) by lavabit.com with ESMTP id PRMQGSOFOF8R; Wed, 01 Sep 2010 05:57:38 -0500 Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=iso-8859-1 From: Rui Paulo In-Reply-To: Date: Wed, 1 Sep 2010 11:57:35 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <3A9BC6EA-0F7B-4C57-9179-4E5858894955@freebsd.org> References: <236CEF13-3153-4ACA-9C67-B0116FF76EB3@FreeBSD.org> To: =?iso-8859-1?Q?Marius_N=FCnnerich?= X-Mailer: Apple Mail (2.1081) Cc: "current@freebsd.org Current" Subject: Re: DTrace userland project X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Sep 2010 10:57:40 -0000 On 1 Sep 2010, at 11:20, Marius N=FCnnerich wrote: > On Wed, Sep 1, 2010 at 00:21, Rui Paulo wrote: >> Hi, >> The DTrace userland project is near completion and you can start = using parts of it right away (only on FreeBSD HEAD right now). >>=20 >> For more information on how to use DTrace with userland, please read: >> http://wiki.freebsd.org/DTrace/userland >=20 > Hi, >=20 > I set this up in a VirtualBox with 9-current r212073 amd64, 4-cores, > amd-v and nested paging enabled. > I tried > dtruss /usr/bin/true > it works but is really slow, it takes ~10s to switch vt. This is not really using the new userland dtrace code, but the old one. = I suspect DTrace has a problem running on your system. Can you try a = different VM software or real hardware? I never experienced this problem = on VMWare Fusion. > I tried the pid example as well, if I execute it on ttyv0 I can see = lots of > kernel trap 12 with interrupts disabled > messages flying by and inbetween the desired _sleep:entry probes. When > I execute that script on ttyv1 I obviously don't see the kernel trap > messages and the machine kindof locks up (no output at all). I can do > a clean ACPI shutdown though. This looks like I race that I haven't fixed yet. Either way, if the VM = is interfering, then it will be hard to find out how to fix this. Regards, -- Rui Paulo