Dtrace required modules?

John-Mark Gurney jmg at funkthat.com
Tue Jul 28 17:13:04 UTC 2015


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."


More information about the freebsd-dtrace mailing list