Changeset View
Changeset View
Standalone View
Standalone View
sys/contrib/openzfs/include/sys/zfs_debug.h
Show First 20 Lines • Show All 50 Lines • ▼ Show 20 Lines | |||||
/* 1<<5 was previously used, try not to reuse */ | /* 1<<5 was previously used, try not to reuse */ | ||||
#define ZFS_DEBUG_ZIO_FREE (1 << 6) | #define ZFS_DEBUG_ZIO_FREE (1 << 6) | ||||
#define ZFS_DEBUG_HISTOGRAM_VERIFY (1 << 7) | #define ZFS_DEBUG_HISTOGRAM_VERIFY (1 << 7) | ||||
#define ZFS_DEBUG_METASLAB_VERIFY (1 << 8) | #define ZFS_DEBUG_METASLAB_VERIFY (1 << 8) | ||||
#define ZFS_DEBUG_SET_ERROR (1 << 9) | #define ZFS_DEBUG_SET_ERROR (1 << 9) | ||||
#define ZFS_DEBUG_INDIRECT_REMAP (1 << 10) | #define ZFS_DEBUG_INDIRECT_REMAP (1 << 10) | ||||
#define ZFS_DEBUG_TRIM (1 << 11) | #define ZFS_DEBUG_TRIM (1 << 11) | ||||
#define ZFS_DEBUG_LOG_SPACEMAP (1 << 12) | #define ZFS_DEBUG_LOG_SPACEMAP (1 << 12) | ||||
#define ZFS_DEBUG_METASLAB_ALLOC (1 << 13) | |||||
extern void __set_error(const char *file, const char *func, int line, int err); | extern void __set_error(const char *file, const char *func, int line, int err); | ||||
extern void __zfs_dbgmsg(char *buf); | extern void __zfs_dbgmsg(char *buf); | ||||
extern void __dprintf(boolean_t dprint, const char *file, const char *func, | extern void __dprintf(boolean_t dprint, const char *file, const char *func, | ||||
int line, const char *fmt, ...); | int line, const char *fmt, ...); | ||||
/* | /* | ||||
* Some general principles for using zfs_dbgmsg(): | * Some general principles for using zfs_dbgmsg(): | ||||
▲ Show 20 Lines • Show All 45 Lines • Show Last 20 Lines |