Date: Tue, 16 Sep 2014 20:02:11 +0100 From: "Steven Hartland" <killing@multiplay.co.uk> To: "Mark Johnston" <markj@FreeBSD.org> Cc: hackers@freebsd.org, freebsd-dtrace@freebsd.org Subject: Re: ZFS SET_ERROR dtrace probe possible under FreeBSD? Message-ID: <4B404F031430407C98A6A553A5FF1843@multiplay.co.uk> References: <AEC968EBE6DE4E56A76DD7578DC25483@multiplay.co.uk> <CAJjvXiF4kPFW--SioqAvR%2BF1kwMgYUkfGqtLd4ZHh0jWhrNN5Q@mail.gmail.com> <20140916031318.GB26720@charmander.picturesperfect.net> <C5055A802D714A6F9BA38405ABC1B2D8@multiplay.co.uk> <20140916163927.GA36108@charmander.picturesperfect.net>
next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message ----- From: "Mark Johnston" <markj@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B404F031430407C98A6A553A5FF1843>