From owner-freebsd-dtrace@freebsd.org Wed Jul 29 04:08:56 2015 Return-Path: Delivered-To: freebsd-dtrace@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 81A479AB7FA for ; Wed, 29 Jul 2015 04:08:56 +0000 (UTC) (envelope-from hetakcoder@gmail.com) Received: from mail-wi0-x235.google.com (mail-wi0-x235.google.com [IPv6:2a00:1450:400c:c05::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1CF0018AE for ; Wed, 29 Jul 2015 04:08:56 +0000 (UTC) (envelope-from hetakcoder@gmail.com) Received: by wibxm9 with SMTP id xm9so8252385wib.1 for ; Tue, 28 Jul 2015 21:08:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=OGV2UiIEkzpE6d0OPQFKhlPNrPLOYmiRBIJlVLdS0UM=; b=vvecz1o+QmrDK4M5fVn03ghPjKWYCspkJCJmOr+wZOnS+JLDe7nWOUCR1Y2GFjXMEP aUDQoU1VGy4gt6VOPBjymminc9ibP0Xlt/mvAXYuWd6Wz/flc3Qr0fPYGIHmvJdKjPKx /u1OveNGfNvdKgxLGMrOZdIM9USmS5ncZsjZwIS7iQmbEDyXRva4wYrixB+LduxX46LP imeoVbNOK9Mn9VTa9V5Clkk/YM0aF52+skaOdXLtUCnt0MoqJNxSOWiJ3FHlul7zR6h/ M6zfODyVnuLO02KwZhtnXCLb7Ewj10cr6bHkPVr7kPM5w8FefTaMsS/BrklKLHO3IoI6 wlew== X-Received: by 10.180.39.163 with SMTP id q3mr3070506wik.82.1438142933277; Tue, 28 Jul 2015 21:08:53 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.68.233 with HTTP; Tue, 28 Jul 2015 21:07:39 -0700 (PDT) In-Reply-To: <20150728171256.GS78154@funkthat.com> References: <20150728171256.GS78154@funkthat.com> From: HeTak Date: Wed, 29 Jul 2015 08:37:39 +0430 Message-ID: Subject: Re: Dtrace required modules? To: John-Mark Gurney Cc: freebsd-dtrace@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-dtrace@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "A discussion list for developers working on DTrace in FreeBSD." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jul 2015 04:08:56 -0000 Thank you for the tip, John :) yes it helps me and my problem is solved. On Tue, Jul 28, 2015 at 9:42 PM, John-Mark Gurney wrote: > HeTak wrote this message on Tue, Jul 28, 2015 at 13:14 +0430: > > I'm new in using Dtrace. I need to re-compile my kernel a lot so i'm > using > > MODULES_OVERRIDE option of /etc/make.conf to make my kernel compile > faster. > > > > Would you please tell me what are the exact kernel modules of which > dtrace > > needs to be recompiled with kernel? > > or how I can get the list? > > So, I did a kldload dtraceall, and it loaded the following modules > (from kldstat): > 12 1 0xffffffff821e5000 890 dtraceall.ko > 13 11 0xffffffff821e6000 996d opensolaris.ko > 14 10 0xffffffff821f0000 850e58 dtrace.ko > 15 1 0xffffffff82a41000 4658 dtmalloc.ko > 16 1 0xffffffff82a46000 58c0 dtnfscl.ko > 17 1 0xffffffff82a4c000 6724 fbt.ko > 18 1 0xffffffff82a53000 5b4d6 fasttrap.ko > 19 1 0xffffffff82aaf000 4b70 lockstat.ko > 20 1 0xffffffff82ab4000 17f0 sdt.ko > 21 1 0xffffffff82ab6000 cd9f systrace.ko > 22 1 0xffffffff82ac3000 ccbf systrace_freebsd32.ko > 23 1 0xffffffff82ad0000 517d profile.ko > > Of course, now you can track them down in sys/modules to figure out > which lines to include in the override line... > > Hope this helps. > > -- > John-Mark Gurney Voice: +1 415 225 5579 > > "All that I will do, has been done, All that I have, has not." >