From owner-freebsd-dtrace@freebsd.org Tue Jul 28 08:45:17 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 DF7A49AAC0C for ; Tue, 28 Jul 2015 08:45:17 +0000 (UTC) (envelope-from hetakcoder@gmail.com) Received: from mail-wi0-x22c.google.com (mail-wi0-x22c.google.com [IPv6:2a00:1450:400c:c05::22c]) (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 7DF4318D7 for ; Tue, 28 Jul 2015 08:45:17 +0000 (UTC) (envelope-from hetakcoder@gmail.com) Received: by wibud3 with SMTP id ud3so148818297wib.0 for ; Tue, 28 Jul 2015 01:45:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=Jphcj1us/B4bYDHwCcfQc58cmm0YaOBuB5LbtSHVAJg=; b=L3onOwxTamb+5Pg6PCvAOKpbDOA8G0RV9cyBSWkUr2qYlh0aI503UFkVhd/xVnl32X B8rirpYHxw+MFgrG6UsA7/ce5jLMeUvrB3YhH2QqB+foP36XU0kxdhF7hL4WMkIT85D5 p5kU69sppX5g9Y08yIWFrXXdTDnG3sL487pT7Aa+LxKUHj2Inr9FfpG+brAt3zzglT1N g2/c+cRv7dhFe0rgUWL8oL/5jnDqMZseois1LFqzy1GVNwuYYyOjRQ1zvWEjluUBALi4 45U2WGmUB4EP9zXZ5VqJ3c9FgaGHGJXeuSr0gjEUBnw2yrCqlDtBntFx1ZW/tzSL7tEU mzeA== X-Received: by 10.180.205.230 with SMTP id lj6mr33614155wic.82.1438073114770; Tue, 28 Jul 2015 01:45:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.68.233 with HTTP; Tue, 28 Jul 2015 01:44:35 -0700 (PDT) From: HeTak Date: Tue, 28 Jul 2015 13:14:35 +0430 Message-ID: Subject: Dtrace required modules? To: 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: Tue, 28 Jul 2015 08:45:18 -0000 Hi there, 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? Thanks in advance :) --HeTak From owner-freebsd-dtrace@freebsd.org Tue Jul 28 09:11:48 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 94CE29AC554 for ; Tue, 28 Jul 2015 09:11:48 +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 2C656BD0 for ; Tue, 28 Jul 2015 09:11:48 +0000 (UTC) (envelope-from hetakcoder@gmail.com) Received: by wibxm9 with SMTP id xm9so150952031wib.1 for ; Tue, 28 Jul 2015 02:11:46 -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 :content-type; bh=Cq4mlbWWqPQrtcm6U3ndu0XZcKnhmrUQ9lr2aSf259g=; b=0vkyuP0Rjg08qs47uJLwsIsE0g+etHpocliOkilWc8iW1GnwJh7z/R6N4i0k2c85sd PBwF/+H/C+Q/xOqKBue21TTgCaoBYriZf4VilV3gN75GMizE0P2XXQ1OCXH36YW3jA4c i6ZQ9pi1uqXHbFY5zRUVL0RVY6ZLPUR14mmfHEul2yEI2Dk2n3cDlRvuY4xCuLy8qRXF +99Eesc/3REo59uxs1fH5irIyKtqrvXx45z7finNqg3XZ/EAqq2YDPVff501L1yuiYRB Ab5gMiA7YacI/lzkUqUlHfnKoEtArNLS1CJ3uhcXVzqlOHE1bpIzYbhysp5YDjFMHCn8 BApw== X-Received: by 10.180.23.69 with SMTP id k5mr4868778wif.3.1438074706671; Tue, 28 Jul 2015 02:11:46 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.68.233 with HTTP; Tue, 28 Jul 2015 02:11:07 -0700 (PDT) In-Reply-To: References: From: HeTak Date: Tue, 28 Jul 2015 13:41:07 +0430 Message-ID: Subject: Re: Dtrace required modules? To: 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: Tue, 28 Jul 2015 09:11:48 -0000 Pardon me for quick emailing.. I found the answer in the following link: https://wiki.freebsd.org/DTrace/KernelSupport The required modules are: opensolaris dtrace cyclic nfsclient krpc nfs_common nfslock -- HeTak On Tue, Jul 28, 2015 at 1:14 PM, HeTak wrote: > Hi there, > > 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? > > Thanks in advance :) > > --HeTak > 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." 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." >