ZFS SET_ERROR dtrace probe possible under FreeBSD?
Steven Hartland
killing at multiplay.co.uk
Tue Sep 16 19:02:18 UTC 2014
----- Original Message -----
From: "Mark Johnston" <markj at FreeBSD.org>
> 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
More information about the freebsd-hackers
mailing list