In the meantime I found the answer to my question.

> Does your patch change the layout of the timeout structure?  If so, the
> problem is that dtrace(1) is using the CTF from kern.bootfile, but that
> doesn't match the layout of the structures used by the running kernel.

dtrace() gets the CTF of the kernel and kernel modules from the
pathbames returned by kldstat(2). In my case they all start with
'/boot/kernel/' because the kernel was loaded from that place. This can
be veryfied with 'kldstat -v'. The output does not change after buildung
a new kernel and the kernel itself does nit use the variable
kern.bootfile.

-- 
Andreas Longwitz

_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-dtrace
To unsubscribe, send any mail to "[email protected]"

Reply via email to