On Tue, Mar 27, 2012 at 6:27 PM, Alexander Leidinger <[email protected]> wrote: > Great! > Is this automatic, or do I need to do something in the newly loaded KLD?
Nothing special. You can follow exactly the same set of steps as for adding probes to the kernel itself: http://wiki.freebsd.org/DTrace/HowToAddSDTProbes >> This makes it possible to create SDT probes in KLD modules, >> although there are still two caveats: first, any SDT probes in a KLD >> module must be part of a DTrace provider that is defined in that >> module. > > To make sure I understand it correctly: > If I have the provider "linuxulator", all probes for this provider > need to be within the KLD. No other KLD is allowed to reference this > provider. To stay with the linuxulator example: if a module which > depends upon linux.ko wants to have some SDT probes, it has to use a > different provider. Exactly correct. _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "[email protected]"
