From owner-freebsd-current@FreeBSD.ORG Wed Sep 1 10:46: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 6793010656AC; Wed, 1 Sep 2010 10:46:39 +0000 (UTC) (envelope-from marius@nuenneri.ch) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 128C98FC12; Wed, 1 Sep 2010 10:46:38 +0000 (UTC) Received: by qwg5 with SMTP id 5so7216qwg.13 for ; Wed, 01 Sep 2010 03:46:38 -0700 (PDT) Received: by 10.229.186.211 with SMTP id ct19mr5321073qcb.55.1283336457298; Wed, 01 Sep 2010 03:20:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.190.83 with HTTP; Wed, 1 Sep 2010 03:20:37 -0700 (PDT) In-Reply-To: <236CEF13-3153-4ACA-9C67-B0116FF76EB3@FreeBSD.org> References: <236CEF13-3153-4ACA-9C67-B0116FF76EB3@FreeBSD.org> From: =?UTF-8?Q?Marius_N=C3=BCnnerich?= Date: Wed, 1 Sep 2010 12:20:37 +0200 Message-ID: To: Rui Paulo Content-Type: text/plain; charset=UTF-8 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:46:39 -0000 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). > > For more information on how to use DTrace with userland, please read: > http://wiki.freebsd.org/DTrace/userland Hi, 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. 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. - Marius