cvs commit: src/sys/sys ktr.h
jroberson at chesapeake.net
Sun Jul 3 01:01:07 GMT 2005
On Wed, 29 Dec 2004, 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?
They need to be static at compile time or they always produce massive
bloat in the kernel.
More information about the cvs-src