K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-04-10T22:45:27.000000Z K 7 svn:log V 657 Merge kern_proc.c:1.257, sysctl.h:1.154, and user.h:1.72 from HEAD to RELENG_7: Add another new sysctl in support of the forthcoming procstat(1) to support its -k argument: kern.proc.kstack - dump the kernel stack of a process, if debugging is permitted. This sysctl is present if either "options DDB" or "options STACK" is compiled into the kernel. Having support for tracing the kernel stacks of processes from user space makes it much easier to debug (or understand) specific wmesg's while avoiding the need to enter DDB in order to determine the path by which a process came to be blocked on a particular wait channel or lock. END