Subject: Re: Line & file debugging info for vnode locking.
To: None <tech-kern@netbsd.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: tech-kern
Date: 08/11/1999 13:28:59
>>> and __FUNCTION__
>> Doh.  Actually __FUNCTION__ and __LINE__ would be sufficient.
> ...considering that __FILE__ and __LINE__ are already used for lock
> debugging, and are also what are used for KASSERT(), etc., I think
> sticking with __FILE__ and __LINE__, for consistency's sake, is
> better.

Not to mention that if you get a problem from a piece of the kernel
you're not familiar with, finding the call when given the function name
is harder than when given the file name.

					der Mouse

			       mouse@rodents.montreal.qc.ca
		     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B