cvs commit: src/sys/sys ktr.h

Jeff Roberson jroberson at chesapeake.net
Wed Dec 29 09:49:28 PST 2004


On Wed, 29 Dec 2004, Nate Lawson wrote:

> David O'Brien wrote:
> > On Sun, Dec 26, 2004 at 12:13:38AM +0000, Jeff Roberson wrote:
> >
> >>jeff        2004-12-26 00:13:38 UTC
> >>  FreeBSD src repository
> >>  Modified files:
> >>    sys/sys              ktr.h
> >>  Log:
> >>   - Add KTR_SCHED to produce ktr data for sys/tools/sched/schedgraph.py.
> >>
> >>  Revision  Changes    Path
> >>  1.26      +3 -2      src/sys/sys/ktr.h
> >>http://cvsweb.freebsd.org/src/sys/sys/ktr.h.diff?r1=1.25&r2=1.26
> >
> >
> > This conflicted with your
> > http://www.chesapeake.net/~jroberson/smpffs.diff patch:
> >
> >     +#define KTR_BUF         0x20000000              /* Buffer cache */
> >
> > do you have an updated patch set?
> >
>
> 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.

>
> --
> Nate
>


More information about the cvs-all mailing list