Module Name: src Committed By: ozaki-r Date: Fri Mar 16 04:44:51 UTC 2018
Modified Files: src/share/man/man4: ddb.4 src/sys/ddb: db_command.c src/sys/kern: subr_lockdebug.c src/sys/sys: lockdebug.h Log Message: Add a new command, show all locks, which shows information of active locks The command shows information of all active (i.e., being held) locks that are tracked through either of LWPs or CPUs by the LOCKDEBUG facility. The /t modifier additionally shows a backtrace for each LWP additionally. This feature is useful for debugging especially to analyze deadlocks. The command is useful only if LOCKDEBUG is enabled. To generate a diff of this commit: cvs rdiff -u -r1.175 -r1.176 src/share/man/man4/ddb.4 cvs rdiff -u -r1.150 -r1.151 src/sys/ddb/db_command.c cvs rdiff -u -r1.61 -r1.62 src/sys/kern/subr_lockdebug.c cvs rdiff -u -r1.17 -r1.18 src/sys/sys/lockdebug.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.