Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Apr 2001 14:37:52 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern subr_witness.c src/sys/sys lock.h
Message-ID:  <200104062137.f36Lbqk56434@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2001/04/06 14:37:52 PDT

  Modified files:
    sys/kern             subr_witness.c 
    sys/sys              lock.h 
  Log:
  - Split out the functionality of displaying the contents of a single lock
    list into a public witness_list_locks() function.  Call this function
    twice in witness_list() instead of using an evil goto.
  - Adjust the 'show locks' command to take an optional parameter which
    specifies the pid of a process to list the locks of.  By default the
    locks held by the current process are displayed.
  
  Revision  Changes    Path
  1.62      +53 -22    src/sys/kern/subr_witness.c
  1.29      +2 -1      src/sys/sys/lock.h


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104062137.f36Lbqk56434>