aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/ktr.h
diff options
context:
space:
mode:
authorBruce M Simpson <bms@FreeBSD.org>2009-04-29 09:54:33 +0000
committerBruce M Simpson <bms@FreeBSD.org>2009-04-29 09:54:33 +0000
commit1d4ded2ca5d4b5c694a0634c3c34b8ef5d32bebb (patch)
tree69707c1c028e1995032e23cc0ece315ecaacdb00 /sys/sys/ktr.h
parent7d9d64ba0df5114ee224d0915549769b7ae8996d (diff)
downloadsrc-1d4ded2ca5d4b5c694a0634c3c34b8ef5d32bebb.tar.gz
src-1d4ded2ca5d4b5c694a0634c3c34b8ef5d32bebb.zip
Grab KTR_SPARE1 and KTR_SPARE5 for KTR_INET and KTR_INET6
respectively, as placeholder for future use of CTR() by the networking code (MLDv2 will be going in shortly). Mark KTR_SPARE* as being used in fact by cxgb (picked up on a 'make universe' run).
Notes
Notes: svn path=/head/; revision=191653
Diffstat (limited to 'sys/sys/ktr.h')
-rw-r--r--sys/sys/ktr.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/sys/ktr.h b/sys/sys/ktr.h
index 220d3fe54ade..403caa3b230e 100644
--- a/sys/sys/ktr.h
+++ b/sys/sys/ktr.h
@@ -55,24 +55,24 @@
#define KTR_TRAP 0x00000100 /* Trap processing */
#define KTR_INTR 0x00000200 /* Interrupt tracing */
#define KTR_SIG 0x00000400 /* Signal processing */
-#define KTR_SPARE2 0x00000800 /* Unused */
+#define KTR_SPARE2 0x00000800 /* XXX Used by cxgb */
#define KTR_PROC 0x00001000 /* Process scheduling */
#define KTR_SYSC 0x00002000 /* System call */
#define KTR_INIT 0x00004000 /* System initialization */
-#define KTR_SPARE3 0x00008000 /* Unused */
-#define KTR_SPARE4 0x00010000 /* Unused */
+#define KTR_SPARE3 0x00008000 /* XXX Used by cxgb */
+#define KTR_SPARE4 0x00010000 /* XXX Used by cxgb */
#define KTR_EVH 0x00020000 /* Eventhandler */
#define KTR_VFS 0x00040000 /* VFS events */
#define KTR_VOP 0x00080000 /* Auto-generated vop events */
#define KTR_VM 0x00100000 /* The virtual memory system */
-#define KTR_SPARE1 0x00200000 /* Unused */
+#define KTR_INET 0x00200000 /* IPv4 stack */
#define KTR_RUNQ 0x00400000 /* Run queue */
#define KTR_CONTENTION 0x00800000 /* Lock contention */
#define KTR_UMA 0x01000000 /* UMA slab allocator */
#define KTR_CALLOUT 0x02000000 /* Callouts and timeouts */
#define KTR_GEOM 0x04000000 /* GEOM I/O events */
#define KTR_BUSDMA 0x08000000 /* busdma(9) events */
-#define KTR_SPARE5 0x10000000 /* Unused */
+#define KTR_INET6 0x10000000 /* IPv6 stack */
#define KTR_SCHED 0x20000000 /* Machine parsed sched info. */
#define KTR_BUF 0x40000000 /* Buffer cache */
#define KTR_ALL 0x7fffffff