cvs commit: src/sys/kern subr_witness.c

Robert Watson rwatson at FreeBSD.org
Sun Dec 26 14:52:25 PST 2004


rwatson     2004-12-26 22:52:24 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             subr_witness.c 
  Log:
  Add "show alllocks" command to DDB, which dumps a list of processes
  and threads currently holding sleep mutexes (and spin mutexes for
  curthread).  This can be quite useful in looking for a lock condition
  summary for a system, as it avoids manually iterating through threads
  and processes to find all the interesting locks.
  
  NB: "alllocks" is up there with "lockedvnods" for a bad argument for
  show.
  
  MFC after:      2 weeks
  
  Revision  Changes    Path
  1.184     +42 -0     src/sys/kern/subr_witness.c


More information about the cvs-all mailing list