cvs commit: src/sys/kern kern_proc.c src/sys/sys sysctl.h user.h

Robert Watson rwatson at FreeBSD.org
Sun Dec 2 13:52:18 PST 2007


rwatson     2007-12-02 21:52:18 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_proc.c 
    sys/sys              sysctl.h user.h 
  Log:
  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.257     +106 -0    src/sys/kern/kern_proc.c
  1.154     +1 -0      src/sys/sys/sysctl.h
  1.72      +19 -0     src/sys/sys/user.h


More information about the cvs-src mailing list