From owner-freebsd-dtrace@freebsd.org Tue Jul 28 17:13:04 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 69C969ADCE8 for ; Tue, 28 Jul 2015 17:13:04 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "gold.funkthat.com", Issuer "gold.funkthat.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4E604B95 for ; Tue, 28 Jul 2015 17:13:03 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (localhost [127.0.0.1]) by gold.funkthat.com (8.14.5/8.14.5) with ESMTP id t6SHCviL087438 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 28 Jul 2015 10:12:57 -0700 (PDT) (envelope-from jmg@gold.funkthat.com) Received: (from jmg@localhost) by gold.funkthat.com (8.14.5/8.14.5/Submit) id t6SHCvEG087437; Tue, 28 Jul 2015 10:12:57 -0700 (PDT) (envelope-from jmg) Date: Tue, 28 Jul 2015 10:12:56 -0700 From: John-Mark Gurney To: HeTak Cc: freebsd-dtrace@freebsd.org Subject: Re: Dtrace required modules? Message-ID: <20150728171256.GS78154@funkthat.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 9.1-PRERELEASE amd64 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-TipJar: bitcoin:13Qmb6AeTgQecazTWph4XasEsP7nGRbAPE X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? User-Agent: Mutt/1.5.21 (2010-09-15) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (gold.funkthat.com [127.0.0.1]); Tue, 28 Jul 2015 10:12:57 -0700 (PDT) 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: Tue, 28 Jul 2015 17:13:04 -0000 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."