From owner-freebsd-hackers@FreeBSD.ORG Fri Apr 22 02:01:26 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 D9BA5106566C for ; Fri, 22 Apr 2011 02:01:26 +0000 (UTC) (envelope-from ctuffli@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id B2BED8FC0C for ; Fri, 22 Apr 2011 02:01:26 +0000 (UTC) Received: by pzk27 with SMTP id 27so188810pzk.13 for ; Thu, 21 Apr 2011 19:01:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=X5KcfGDUIbPVwLZkaj0SwBN53Ps0lmO3a1I5Jy0IYvI=; b=brxanN9OWpHHmS6Se8SBUBcEpDKDQ6IIoDZ8lBXiPltFR51ISFJY/6K77QzPziJ75k ToTIrx4JyZ8ZpCasTDYZZabO5i2ZCuBH+Lri08DmgpFfbvYL3MLeRPeMuctVX3/kwYkd bYMoHOWGfTrLbd2KKvQjo/yVOTsuo6DKrj74o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=UZujLir12tcMV1Vh4Q5e4JbCWiem2kxEtWFMMZOxjljqWLdvPrYSdtbRnuWWrykJB1 l2SQXrRLBLnlITR7IuYtLoP5Y7XZJBNi/sssFZB7htdfBElNI0A1VvMhE3Tyjo3FUtAW yQWUYLQce1VV3So11ghPJtf5rTzpyCb08WLDE= MIME-Version: 1.0 Received: by 10.68.27.33 with SMTP id q1mr883646pbg.21.1303436244669; Thu, 21 Apr 2011 18:37:24 -0700 (PDT) Received: by 10.68.49.72 with HTTP; Thu, 21 Apr 2011 18:37:24 -0700 (PDT) Date: Thu, 21 Apr 2011 18:37:24 -0700 Message-ID: From: Chuck Tuffli To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: 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 02:01:26 -0000 (Note I'm new to DTrace, so this may be ignorance on my part) I have re-built a stock 8.2 kernel and enabled dtrace as per the handbook (including WITH_CTF=1) and have built a kld also using WITH_CTF=1. When I run the following dtrace -n"bus_release_resource:entry { stack(); }" the output looks like ... 0 33759 bus_release_resource:entry 0xffffffff813db04e 0xffffffff813db091 kernel`device_detach+0x84 kernel`driver_module_handler+0x37c kernel`module_unload+0x49 kernel`linker_file_unload+0x178 kernel`kern_kldunload+0x117 kernel`syscallenter+0x23d kernel`syscall+0x4b kernel`0xffffffff808c5572 where the 0xffffffff813dbXXX addresses correspond to my kld. But I was expecting to see symbolic names instead of addresses. Is there something else I need to do to add the kld's symbols to the system? TIA. ---chuck