Date: Thu, 10 Apr 2008 22:45:27 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_proc.c src/sys/sys sysctl.h user.h Message-ID: <200804102245.m3AMjRZM048161@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2008-04-10 22:45:27 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern kern_proc.c sys/sys sysctl.h user.h Log: 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. Revision Changes Path 1.252.2.5 +106 -0 src/sys/kern/kern_proc.c 1.148.2.2 +1 -0 src/sys/sys/sysctl.h 1.70.2.2 +19 -0 src/sys/sys/user.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804102245.m3AMjRZM048161>