--- a/usr/src/lib/libzpool/common/sys/zfs_context.h Wed Jan 10 14:41:22 2007 -0800
+++ b/usr/src/lib/libzpool/common/sys/zfs_context.h Wed Jan 10 17:08:29 2007 -0800
@@ -19,7 +19,7 @@
* CDDL HEADER END
*/
/*
- * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -71,6 +71,7 @@
#include <sys/uio.h>
#include <sys/zfs_debug.h>
#include <sys/sdt.h>
+#include <sys/kstat.h>
/*
* Debugging
@@ -262,6 +263,14 @@
extern void cv_broadcast(kcondvar_t *cv);
/*
+ * kstat creation, installation and deletion
+ */
+extern kstat_t *kstat_create(char *, int,
+ char *, char *, uchar_t, ulong_t, uchar_t);
+extern void kstat_install(kstat_t *);
+extern void kstat_delete(kstat_t *);
+
+/*
* Kernel memory
*/
#define KM_SLEEP UMEM_NOFAIL