Date: Fri, 15 Jun 2007 17:22:45 -0400 From: John Baldwin <jhb@freebsd.org> To: Randall Stewart <rrs@cisco.com> Cc: Randall Stewart <rrs@freebsd.org>, src-committers@freebsd.org, cvs-all@freebsd.org, cvs-src@freebsd.org, Kris Kennaway <kris@obsecurity.org> Subject: Re: cvs commit: src/sys/netinet sctp.h sctp_asconf.c sctp_asconf.h sctp_bsd_addr.c sctp_constants.h sctp_indata.c sctp_input.c sctp_lock_bsd.h sctp_os_bsd.h sctp_output.c sctp_pcb.c sctp_pcb.h sctp_peeloff.c sctp_sysctl.c sctp_sysctl.h sctp_timer.c sctp_uio.h ... Message-ID: <200706151722.46111.jhb@freebsd.org> In-Reply-To: <4672FC0B.1090907@cisco.com> References: <200706142259.l5EMx4aW053356@repoman.freebsd.org> <200706151340.29868.jhb@freebsd.org> <4672FC0B.1090907@cisco.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 15 June 2007 04:52:27 pm Randall Stewart wrote: > John Baldwin wrote: > > > > > Also, I would use KTR_SCTP and use the same #ifdef above so it is 0 or > > KTR_SUBSYS depending on whether or not you want it enabled. > > > > Changing the name around is cosmetic.. and no problem.. > > The actual ifdef with 0, though.. we have a seperate > mask.. since there are 21 or so things that can be logged/traced > and they all generate quite a bit of output.. which can be graphed > and charted.. along with the usual debugging lot.. > > Thus there is a seperate mask that turns these on/off.. > > So .. if for instance you enable KTR_SUBSYS (aka KTR_SCTP) then > nothing will come out until you enable the various logging > levels in SCTP. Ah, ok, in that case you are probably fine w/o the #ifdef. -- John Baldwin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706151722.46111.jhb>