From owner-freebsd-hackers@FreeBSD.ORG Fri Apr 22 14:27:32 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 B17B4106564A for ; Fri, 22 Apr 2011 14:27:32 +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 8951E8FC19 for ; Fri, 22 Apr 2011 14:27:32 +0000 (UTC) Received: by pzk27 with SMTP id 27so432618pzk.13 for ; Fri, 22 Apr 2011 07:27:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=WMNbOrNQm7dCspjnp2HRZ1MRXn3qL5u23U1SNuyC0c0=; b=M82EhJ3MXR3VObfu+RtEOtDoR87IyWw0iqipoYdMgL+DG+lMGqBcy/BcIfrt9x44wQ MTc7dH4yBfxkERLtC6+iz3jay/hBLrQ6m+6oLIo2yLvSa1biKMMXDQSclRPCLZE/Ip1E 9v/5jA2NGwtijFSpSeBoP5kc1YZrdPRogcbRY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=bmrSsvb5tsysJpzybKbZ/WFeMImGobUFnv9cviHlxMxFcLJ2CRoxEEmSC7s7kgO3DO kt8EwwJzP8psp8fa1jCE5XIRsTV6Monae46wFLCTTIqXPqrVM1Z3x+VIlK8QxyJDXVZt jbBC20oTBJ0gER1nUfuSfGFGaOuPHkR4rRF9Q= MIME-Version: 1.0 Received: by 10.68.20.129 with SMTP id n1mr1814854pbe.155.1303482451931; Fri, 22 Apr 2011 07:27:31 -0700 (PDT) Received: by 10.68.49.72 with HTTP; Fri, 22 Apr 2011 07:27:30 -0700 (PDT) In-Reply-To: <20110421221611.7f52ca98@kan.dnsalias.net> References: <20110421221611.7f52ca98@kan.dnsalias.net> Date: Fri, 22 Apr 2011 07:27:30 -0700 Message-ID: From: Chuck Tuffli To: Alexander Kabaev Content-Type: text/plain; charset=ISO-8859-1 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 14:27:32 -0000 On Thu, Apr 21, 2011 at 7:16 PM, Alexander Kabaev wrote: ... > There is an omission on our .mk files which prevents CTF info to be > generated for kld modules, regardless of WITH_CTF flag. I had > discovered this at work just recently and have been using the > following patch for the time being: > > http://people.freebsd.org/~kan/kmod-dtrace.diff > > If you can confirm it works for you too, I'll get it committed. I patched /usr/src/sys/conf/kmod.mk and rebuilt my kld. It looks like ctfmerge is called at the end of the build, but dtrace still shows just the address. Maybe I missed a step? ---chuck