Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jul 2015 10:12:56 -0700
From:      John-Mark Gurney <jmg@funkthat.com>
To:        HeTak <hetakcoder@gmail.com>
Cc:        freebsd-dtrace@freebsd.org
Subject:   Re: Dtrace required modules?
Message-ID:  <20150728171256.GS78154@funkthat.com>
In-Reply-To: <CAGyHxXVTEVdWC51t03yWqFVKb6r4C8D5Wq9vhzJJgDA%2BRbj5VA@mail.gmail.com>
References:  <CAGyHxXVTEVdWC51t03yWqFVKb6r4C8D5Wq9vhzJJgDA%2BRbj5VA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150728171256.GS78154>