DTrace SDT Provider not working?

Marius Nuennerich marius.nuennerich at gmx.net
Sun Jun 11 12:54:17 UTC 2006


Hi John, all!

I tried to add the SDT Hooks for callout(9), see attached patch.
> # dtrace -l -f callout
>    ID   PROVIDER            MODULE                          FUNCTION NAME
>     6        sdt            kernel                           callout entry
>     7        sdt            kernel                           callout return

however, a simple

> # dtrace -n 'sdt:kernel:callout:entry{printf("1");}'

prints that a probe is matched but nothing else, same for
sdt:kernel:linker_load_module:entry and kldload'ing a module.

I use the snapshot code you provided.

Any idea where to look next?

Thank you very much for your work!
regards
Marius
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kern_timeout.c.diff
Type: text/x-patch
Size: 527 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20060611/21144e82/kern_timeout.c.bin


More information about the freebsd-current mailing list