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 ...
jhb at freebsd.org
Fri Jun 15 21:24:44 UTC 2007
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.
More information about the cvs-src