KTR and SCTP
rrs at cisco.com
Thu Jun 14 12:18:11 UTC 2007
Kris Kennaway wrote:
> On Wed, Jun 13, 2007 at 11:10:24PM -0400, Randall Stewart wrote:
> You can't use KTR_SPARE* in committed code either, or it's no longer
> spare :) You should do something like:
> i.e. do something like
> #ifdef SCTP_TRACE
> #define KTR_SCTP KTR_SUBSYS
> #define KTR_SCTP 0
> see the comment in <sys/ktr.h>
> * Two of the trace classes (KTR_DEV and KTR_SUBSYS) are special in that
> * they are really placeholders so that indvidual drivers and subsystems
> * can map their internal tracing to the general class when they wish to
> * have tracing enabled and map it to 0 when they don't.
Hmm.. can I use KTR_GEN?
its one of the 6 unused ones (besides the SPARE1-5) and
it would surely make it easier for the researchers that
use SCTP and want to pull the info... :-)
NSSTG - Cisco Systems Inc.
803-345-0369 <or> 803-317-4952 (cell)
More information about the freebsd-current