From owner-freebsd-hackers@FreeBSD.ORG Thu Aug 20 06:37:43 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 663EC1065672 for ; Thu, 20 Aug 2009 06:37:43 +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 0FD6E8FC3D for ; Thu, 20 Aug 2009 06:37:43 +0000 (UTC) Received: from outgoing.leidinger.net (pD9E2C1E2.dip.t-dialin.net [217.226.193.226]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id 6B450844169; Thu, 20 Aug 2009 08:17:45 +0200 (CEST) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id F19185B22; Thu, 20 Aug 2009 08:17:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=Leidinger.net; s=outgoing-alex; t=1250749062; bh=GW+sXoqEL6+0KwHT6TLIOf1ewCdSUiY1Wz/o/TPIZnQ=; h=Message-ID:Date:From:To:Cc:Subject:References:In-Reply-To: MIME-Version:Content-Type:Content-Transfer-Encoding; b=WjeQWCxd8XVFiZhm6zv0MBXvZSgnW9zBnWTn4Zhcja962avnG/fTgy6NRQtDQffYx IGSn+vUpBTIbSaXSeNnTqRusChN6jxbwMkCb9sMBlSscacTg5fQpPGcc8u7XVURVop UZ6jktk4JqsT9iZP75BGqZYeuScWXCHIISZGsWbYvQrZRHkIXVRAZq2SN9wNBupi68 +ggkE0s1q4wY6/4/pd2cUvTX8pxeafpcvq6wgBwnsAPwFFX9vJ2UdOpaCtz3v8WQlG 8JD79ROSO8PvfDlSzXnPSqRMLQZqc851CpIMHLEa9b6ApCPbqTkIjgiDdQ/hjaS8HL XZ8EejA567aIQ== Received: (from www@localhost) by webmail.leidinger.net (8.14.3/8.13.8/Submit) id n7K6HfKO008692; Thu, 20 Aug 2009 08:17:41 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Thu, 20 Aug 2009 08:17:40 +0200 Message-ID: <20090820081740.436656fu6d4fxoso@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Thu, 20 Aug 2009 08:17:40 +0200 From: Alexander Leidinger To: "Daniel O'Connor" References: <200908192331.34507.doconnor@gsoft.com.au> In-Reply-To: <200908192331.34507.doconnor@gsoft.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) 4.3.3 / FreeBSD-8.0 X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: 6B450844169.B88AB 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, DKIM_SIGNED 0.00, DKIM_VERIFIED -0.00) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1251353868.82315@DyV5BtilVqTYXqxD7bUMIg X-EBL-Spam-Status: No X-Mailman-Approved-At: Thu, 20 Aug 2009 12:03:17 +0000 Cc: freebsd-hackers@freebsd.org Subject: Re: DTrace probes & klds X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Aug 2009 06:37:43 -0000 Quoting Daniel O'Connor (from Wed, 19 Aug 2009 23:31:33 +0930): > Content-Type: text/plain; > charset="utf-8" > Content-Transfer-Encoding: quoted-printable > Content-Disposition: inline > > Is it possible? the handbook implies not and I can't get it to work, but > i could be doing it wrong.. > > I get fbt traces listed for KLDs (I get new entries for each load of the > KLD which seems like a potential problem) but I can't specify an > SDT_PROBE and have it work. Can you show us some example code? In http://svn.freebsd.org/viewvc/base/user/netchild/linuxulator-dtrace/src/sys/compat/linux/linux_emul.c?revision=185383&view=markup I have code which worked at least at some point in time when loaded as a KLD. Bye, Alexander. -- A vacuum is a hell of a lot better than some of the stuff that nature replaces it with. -- Tennessee Williams http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137