Re: FreeBSD-current installer ISO with DTrace (was: Re: DTrace for FreeBSD- source snapshots)

From: Sam Lawrance <boris_at_brooknet.com.au>
Date: Fri, 9 Jun 2006 14:57:38 +1000
On 09/06/2006, at 2:53 PM, John Birrell wrote:

> On Fri, Jun 09, 2006 at 02:43:14PM +1000, Sam Lawrance wrote:
>>
>> On 09/06/2006, at 2:38 PM, John Birrell wrote:
>>
>>> On Fri, Jun 09, 2006 at 02:29:25PM +1000, Sam Lawrance wrote:
>>>> Fixit# kldload dtrace systrace profile fbt
>>>
>>> kldload cyclic dtrace systrace profile fbt
>>>
>>> The 'dtrace' module depends on 'cyclic'.
>>>
>>> The next update wil have a boot loader menu item to load the modules
>>> in the right order.
>>
>> cyclic was loaded automagically when I tested it.
>
> Does that mean you can just:
>
> kldload systrace
>
> (for example)
>
> and cyclic and dtrace get loaded because of the module dependencies?
>
> The dependencies are:
>
> kernel (built with KDTRACE option)
> |
> +-> cyclic
>     |
>     +-> dtrace
>         |
>         +-> systrace
>         |
>         +-> profile
>         |
>         +-> fbttrace
>         :
>         +-> (other providers)
>

Heh, yes.  I didn't think about that.

gis2# kldstat
Id Refs Address    Size     Name
1    4 0xc0400000 788134   kernel
2    1 0xc0b89000 5aaa0    acpi.ko
3    1 0xc398c000 30000    pf.ko
gis2# kldload systrace
gis2# kldstat
Id Refs Address    Size     Name
1    7 0xc0400000 788134   kernel
2    1 0xc0b89000 5aaa0    acpi.ko
3    1 0xc398c000 30000    pf.ko
10    1 0xc3c39000 6000     systrace.ko
11    1 0xc3f00000 26000    dtrace.ko
12    1 0xc3c49000 4000     cyclic.ko
gis2#
Received on Fri Jun 09 2006 - 02:57:51 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:57 UTC