From owner-freebsd-current@FreeBSD.ORG Mon Apr 1 20:12:52 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D0164B8 for ; Mon, 1 Apr 2013 20:12:52 +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 9406CE0A for ; Mon, 1 Apr 2013 20:12:52 +0000 (UTC) Received: from outgoing.leidinger.net (p5DD45F3A.dip.t-dialin.net [93.212.95.58]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id 83B0C8446AA; Mon, 1 Apr 2013 22:04:02 +0200 (CEST) Received: from unknown (Titan.Leidinger.net [192.168.1.17]) by outgoing.leidinger.net (Postfix) with ESMTP id 08E461384; Mon, 1 Apr 2013 22:04:00 +0200 (CEST) Date: Mon, 1 Apr 2013 14:36:52 +0200 From: Alexander Leidinger To: "J.R. Oldroyd" Subject: Re: DTrace of radeonkms on 9.1 Message-ID: <20130401143652.00001870@unknown> In-Reply-To: <20130327180714.5beae7d6@shibato> References: <20130327180714.5beae7d6@shibato> X-Mailer: Claws Mail 3.9.0cvs12 (GTK+ 2.16.6; 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: 83B0C8446AA.A3CF5 X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=-0.691, required 6, autolearn=disabled, ALL_TRUSTED -1.00, AWL -0.86, DATE_IN_PAST_06_12 1.10, TW_KM 0.08, T_RP_MATCHES_RCVD -0.01) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1365451443.20069@oS9ez27gD23DOTeQYLRwTg X-EBL-Spam-Status: No Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Mon, 01 Apr 2013 20:12:52 -0000 On Wed, 27 Mar 2013 18:07:14 -0400 "J.R. Oldroyd" wrote: > Is there any known magic involved in getting DTrace to do its thing on > 9.1-release? > > I am trying to use it to debug a memory leak problem with the > radeonkms driver under 9.x. Can you check if you have the same dtrace-problem with -current? I would expect that 9.1 already has some dtrace-fixes regarding new probes in run-time loaded modules, this is just to verify this assumption. Assuming there is some kind of dead-lock in this module-load interaction with dtrace, you could modify the radeonkms module to do it's initialization magic once a sysctl is set to 1, instead of doing this magic at module-load time. This way you could load the module, start the dtrace script and then issue the magic sysctl. Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137