----- Original Message ----- From: "Mark Johnston" <[email protected]>

You'll need to #include <sys/sdt.h> in kern_dtrace.c.


Also is kern_dtrace.c the correct place for the probe define given
its zfs specific?

I was just thinking that it might be useful elsewhere too.

For now, perhaps the best place is in a new file under
sys/cddl/compat/opensolaris/kern. Then it'll be part of opensolaris.ko
and SET_ERROR will work for any illumos code in the tree, not just ZFS.

Thanks again.

I've created a review for this change below if you would be so kind:
https://reviews.freebsd.org/D790

   Regards
   Steve


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

Reply via email to