From owner-freebsd-stable@FreeBSD.ORG Sat Dec 4 22:43:14 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 5789410656A4 for ; Sat, 4 Dec 2010 22:43:14 +0000 (UTC) (envelope-from avg@freebsd.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 8DEB38FC14 for ; Sat, 4 Dec 2010 22:43:13 +0000 (UTC) Received: from porto.topspin.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id AAA14162; Sun, 05 Dec 2010 00:43:08 +0200 (EET) (envelope-from avg@freebsd.org) Received: from localhost.topspin.kiev.ua ([127.0.0.1]) by porto.topspin.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1PP0ot-0005nw-Vl; Sun, 05 Dec 2010 00:43:08 +0200 Message-ID: <4CFAC3FA.9050601@freebsd.org> Date: Sun, 05 Dec 2010 00:43:06 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.12) Gecko/20101029 Lightning/1.0b2 Thunderbird/3.1.6 MIME-Version: 1.0 To: Zhihao Yuan References: <20101123131353.GA7243@icarus.home.lan> <20101123132519.GA1426@icarus.home.lan> <4CEBC155.9090706@freebsd.org> <20101202002734.GA84177@icarus.home.lan> <20101202022416.GA86118@icarus.home.lan> <4CF8FDC8.7050702@freebsd.org> <4CF97D6A.7020900@freebsd.org> <4CFA23A7.3050604@freebsd.org> In-Reply-To: X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Brandon Gooch , freebsd-stable@freebsd.org, Navdeep Parhar , Jeremy Chadwick Subject: Re: Fwd: Re: Fail to use Dtrace on FreeBSD 8.1-STABLE 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, 04 Dec 2010 22:43:14 -0000 on 05/12/2010 00:23 Zhihao Yuan said the following: > HAHAHAHA! It matters.... Not KBD, not DDB, only the DEBUG=-g option. It seems > like DTrace requires the symbols inside a kernel/program. Well, now my DTrace > works perfectly, and the examples on the wiki also work. The next step is to try > to use it to trace my program. SDT may help. I need to learn more. Thanks guys... Interesting, thank you very much for the investigation and report! And your persistence too! :) I will try to find time to investigate why this requirement has arisen or if it has always been present, just not documented. If it can be removed, then good; otherwise I will update the documentation at least. -- Andriy Gapon