DTrace SDT probes in kernel module — how to?

Ian Lepore ian at freebsd.org
Thu Jun 6 18:17:56 UTC 2019


On Thu, 2019-06-06 at 20:48 +0300, Lev Serebryakov wrote:
> Hello Alan,
> 
> Thursday, June 6, 2019, 8:45:38 PM, you wrote:
> 
> > How are you building the module?  Typing "make" in
> > sys/modules/whatever doesn't build the dtrace probes.  Presumably
> > that
> 
>  This one, yes.
> 
> > could be fixed, but I've never tried.  However, if you do a full
> > "make
> > buildkernel" then you will get dtrace probes.
> 
>  Oh, it is sooo slow :-(
> 

make buildkernel -DNO_CLEAN takes like 9 seconds on my machine.

-- Ian



More information about the freebsd-hackers mailing list