mirror of
				https://git.proxmox.com/git/mirror_zfs.git
				synced 2025-10-26 18:05:04 +03:00 
			
		
		
		
	Add note for printing all dbgmsg entries on FreeBSD
I looked for a bit, and couldn't find any documentation on how to print all logged dbgmsg entries, just messages since the DTrace probe started, until @allanjude kindly pointed me toward the sysctl. So let's add that note where the DTrace probe is mentioned for FreeBSD, so other people can find it. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Ryan Moeller <ryan@iXsystems.com> Reviewed-by: Allan Jude <allan@klarasystems.com> Signed-off-by: Rich Ercolani <rincebrain@gmail.com> Closes #12113
This commit is contained in:
		
							parent
							
								
									dce1bf99ec
								
							
						
					
					
						commit
						90c0524535
					
				| @ -42,9 +42,12 @@ kstat_t *zfs_dbgmsg_kstat; | |||||||
| /*
 | /*
 | ||||||
|  * Internal ZFS debug messages are enabled by default. |  * 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)); }' |  * dtrace -n 'zfs-dbgmsg { print(stringof(arg0)); }' | ||||||
|  * |  * | ||||||
|  |  * # Print all logged dbgmsg entries | ||||||
|  |  * sysctl kstat.zfs.misc.dbgmsg | ||||||
|  |  * | ||||||
|  * # Disable the kernel debug message log. |  * # Disable the kernel debug message log. | ||||||
|  * sysctl vfs.zfs.dbgmsg_enable=0 |  * sysctl vfs.zfs.dbgmsg_enable=0 | ||||||
|  */ |  */ | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Rich Ercolani
						Rich Ercolani