diff options
Diffstat (limited to 'module/os/freebsd')
-rw-r--r-- | module/os/freebsd/zfs/zfs_debug.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/module/os/freebsd/zfs/zfs_debug.c b/module/os/freebsd/zfs/zfs_debug.c index 74742ad36..7239db808 100644 --- a/module/os/freebsd/zfs/zfs_debug.c +++ b/module/os/freebsd/zfs/zfs_debug.c @@ -42,9 +42,12 @@ kstat_t *zfs_dbgmsg_kstat; /* * Internal ZFS debug messages are enabled by default. * - * # Print debug messages + * # Print debug messages as they're logged * dtrace -n 'zfs-dbgmsg { print(stringof(arg0)); }' * + * # Print all logged dbgmsg entries + * sysctl kstat.zfs.misc.dbgmsg + * * # Disable the kernel debug message log. * sysctl vfs.zfs.dbgmsg_enable=0 */ |