From owner-freebsd-stable@FreeBSD.ORG Sat Mar 6 15:45:02 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1D7A7106566C; Sat, 6 Mar 2010 15:45:02 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id C77F08FC1B; Sat, 6 Mar 2010 15:45:01 +0000 (UTC) Received: from outgoing.leidinger.net (pD9E2FE9C.dip.t-dialin.net [217.226.254.156]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id AD1E0844587; Sat, 6 Mar 2010 16:44:54 +0100 (CET) Received: from unknown (unknown [192.168.2.110]) by outgoing.leidinger.net (Postfix) with ESMTP id E5AB45049; Sat, 6 Mar 2010 16:44:51 +0100 (CET) Date: Sat, 6 Mar 2010 16:44:51 +0100 From: Alexander Leidinger To: Robert Watson Message-ID: <20100306164451.00001999@unknown> In-Reply-To: References: X-Mailer: Claws Mail 3.7.2cvs15 (GTK+ 2.16.0; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: AD1E0844587.C4067 X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=-1.44, required 6, autolearn=disabled, ALL_TRUSTED -1.44) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1268495097.41903@8hQphMZZsuA/ZW1Azup3pw X-EBL-Spam-Status: No Cc: freebsd-stable@freebsd.org Subject: Re: is dtrace usable? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Mar 2010 15:45:02 -0000 On Sat, 6 Mar 2010 15:09:51 +0000 (GMT) Robert Watson wrote: > > On Sat, 6 Mar 2010, Daniel Braniss wrote: > > > link_elf_obj: symbol lapic_cyclic_clock_func undefined > > > > when trying > > kldload dtraceall this is with a fearly resent 8-stable > > > > I'm trying to help Rick Maclem debug the NSF/UDP problem, and I > > thought it would be a good chance to learn dtrace, but :-( > > Take a look at the DTrace configuration information here: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/dtrace.html I've just reread it (despite the fact that I already used it). Some comments: Last time I tried, I didn't see any problems by adding makeoptions WITH_CTF=yes to the kernel config instead of doing make WITH_CTF=1 kernel Did I miss something, and if not, shouldn't we tell about the makeoptions part instead (a kernel rebuild later will not cause trouble when someone forgets to do the WITH_CTF part as it is already in the kernel makefile)? What is DDB_CTF doing? Some additional dtrace access in ddb? I didn't had it before but the dtrace probes I had in KLDs worked without problems when running dtrace probes from userland. Bye, Alexander.