Date: Wed, 29 Dec 2004 14:37:16 -0500 From: John Baldwin <jhb@FreeBSD.org> To: Nate Lawson <nate@root.org> Cc: cvs-src@FreeBSD.org Subject: Re: cvs commit: src/sys/sys ktr.h Message-ID: <200412291437.16063.jhb@FreeBSD.org> In-Reply-To: <41D30245.8020600@root.org> References: <200412260013.iBQ0DcJ1074546@repoman.freebsd.org> <20041229124826.Q60504@mail.chesapeake.net> <41D30245.8020600@root.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 29 December 2004 02:15 pm, Nate Lawson wrote: > Jeff Roberson wrote: > > On Wed, 29 Dec 2004, Nate Lawson wrote: > >>Also, could someone please get us more KTR ids while they're at it? We > >>only have 2 left. > > > > I think we should make one or to KTR_LOCAL's or something like that. So > > you can have a define in your file for KTR_MYCODE 0, and when you want to > > debug it, define it to KTR_LOCAL. There are a bunch of KTR ids that are > > used for things that don't really need to be global that we could gc if > > we do that. > > Isn't there a way to dynamically allocate ids, like sysctl does for oid? KTR_COMPILE is rather static and compile-time bound. -- John Baldwin <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412291437.16063.jhb>