From owner-freebsd-current Wed Feb 24 14:13: 9 1999 Delivered-To: freebsd-current@freebsd.org Received: from herring.nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (Postfix) with ESMTP id 1726512204 for ; Wed, 24 Feb 1999 14:07:21 -0800 (PST) (envelope-from dfr@nlsystems.com) Received: from localhost (dfr@localhost) by herring.nlsystems.com (8.9.3/8.8.8) with ESMTP id IAA62889; Wed, 24 Feb 1999 08:48:17 GMT (envelope-from dfr@nlsystems.com) Date: Wed, 24 Feb 1999 08:48:17 +0000 (GMT) From: Doug Rabson To: Joel Ray Holveck Cc: Mike Smith , current@freebsd.org Subject: Re: NFS Problems In-Reply-To: <86btikdiie.fsf@detlev.UUCP> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 23 Feb 1999, Joel Ray Holveck wrote: > >> This reminds me; do we have a utility to reference wmesg strings back > >> to the code that sets them, a la TAGS? Would this be useful? > > No, and yes respectively. > > I have the scanner mostly written; there is one bug yet to fix (This > time for sure!). Presently, it creates a single file WTAGS which > contains an easily-read (my man or machine) flat file index. I will > presently be modifying it to generate Emacs's etags format, as well as > ctags, and as soon as I learn it, GSYMS format. > > At the moment, the scanner scans tsleep, asleep, and ttysleep calls. > What other sleep functions can have the wchan specified as a string > literal? There being no robust manner to handle calls with a computed > or dereferenced wchan, such as acquire(), I will allow for a notation > of /* WCHAN: foo */ to cause the appropriate information to be added > to the database. lockinit() takes a wmesg string which is used when a process sleeps on the lock. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 442 9037 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message