From owner-freebsd-hackers@FreeBSD.ORG Fri Apr 22 15:44:36 2011 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 C1201106564A for ; Fri, 22 Apr 2011 15:44:36 +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 135698FC08 for ; Fri, 22 Apr 2011 15:44:35 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id SAA00398; Fri, 22 Apr 2011 18:44:32 +0300 (EEST) (envelope-from avg@FreeBSD.org) Message-ID: <4DB1A25F.8040700@FreeBSD.org> Date: Fri, 22 Apr 2011 18:44:31 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110309 Lightning/1.0b2 Thunderbird/3.1.9 MIME-Version: 1.0 To: Chuck Tuffli References: <20110421221611.7f52ca98@kan.dnsalias.net> <20110422112444.0e423a80@kan.dnsalias.net> In-Reply-To: <20110422112444.0e423a80@kan.dnsalias.net> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@FreeBSD.org Subject: Re: no KLD symbols in dtrace? 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: Fri, 22 Apr 2011 15:44:36 -0000 on 22/04/2011 18:24 Alexander Kabaev said the following: > Do ctfdump -tf on your kld and verify that what it outputs actually > makes sense. Do kldload and see if fbt provider knows about your module > and functions. There is nothing else special that I can think off. > > Maybe make sure that you compile your sources with -g in the first > place? DWARF debug info is what CTF generation utils use to figure out > types and function prototypes. Also, dtrace process needs to access the module file for address-to-name translation. -- Andriy Gapon