FreeBSD ZFS
The Zettabyte File System
|
Go to the source code of this file.
Data Structures | |
struct | zfs_dbgmsg |
Defines | |
#define | TRUE 1 |
#define | FALSE 0 |
#define | ZFS_DEBUG_DPRINTF 0x0001 |
#define | ZFS_DEBUG_DBUF_VERIFY 0x0002 |
#define | ZFS_DEBUG_DNODE_VERIFY 0x0004 |
#define | ZFS_DEBUG_SNAPNAMES 0x0008 |
#define | ZFS_DEBUG_MODIFY 0x0010 |
#define | dprintf(...) ((void)0) |
Typedefs | |
typedef struct zfs_dbgmsg | zfs_dbgmsg_t |
Functions | |
void | zfs_panic_recover (const char *fmt,...) |
void | zfs_dbgmsg_init (void) |
void | zfs_dbgmsg_fini (void) |
void | zfs_dbgmsg (const char *fmt,...) |
Print these messages by running: echo zfs_dbgmsg | mdb -k. | |
Variables | |
int | zfs_flags |
#define dprintf | ( | ... | ) | ((void)0) |
Definition at line 66 of file zfs_debug.h.
#define FALSE 0 |
Definition at line 38 of file zfs_debug.h.
#define TRUE 1 |
Definition at line 34 of file zfs_debug.h.
#define ZFS_DEBUG_DBUF_VERIFY 0x0002 |
Definition at line 54 of file zfs_debug.h.
#define ZFS_DEBUG_DNODE_VERIFY 0x0004 |
Definition at line 55 of file zfs_debug.h.
#define ZFS_DEBUG_DPRINTF 0x0001 |
Definition at line 53 of file zfs_debug.h.
#define ZFS_DEBUG_MODIFY 0x0010 |
Definition at line 57 of file zfs_debug.h.
#define ZFS_DEBUG_SNAPNAMES 0x0008 |
Definition at line 56 of file zfs_debug.h.
typedef struct zfs_dbgmsg zfs_dbgmsg_t |
void zfs_dbgmsg | ( | const char * | fmt, |
... | |||
) |
Print these messages by running: echo zfs_dbgmsg | mdb -k.
Monitor these messages by running: dtrace -q -n 'zfs-dbgmsg{printf("%s\n", stringof(arg0))}'
Definition at line 63 of file zfs_debug.c.
void zfs_dbgmsg_fini | ( | void | ) |
Definition at line 42 of file zfs_debug.c.
void zfs_dbgmsg_init | ( | void | ) |
Definition at line 34 of file zfs_debug.c.
void zfs_panic_recover | ( | const char * | fmt, |
... | |||
) |
Definition at line 1248 of file spa_misc.c.
int zfs_flags |
Definition at line 224 of file spa_misc.c.