diff options
author | kris <kris@FreeBSD.org> | 2006-06-03 23:30:16 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2006-06-03 23:30:16 +0000 |
commit | 92c8993e7a8b13d1daad386c2a4b8ee1c6f5373f (patch) | |
tree | f3175fc39e3d0296d80389a3b9e48b2ba7ebc214 /sys/conf | |
parent | 92576956859f4cf500c151f23bdf49f26d925db3 (diff) | |
download | FreeBSD-src-92c8993e7a8b13d1daad386c2a4b8ee1c6f5373f.zip FreeBSD-src-92c8993e7a8b13d1daad386c2a4b8ee1c6f5373f.tar.gz |
Note that KTR_ENTRIES must be a power of two.
MFC after: 1 week
Diffstat (limited to 'sys/conf')
-rw-r--r-- | sys/conf/NOTES | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/sys/conf/NOTES b/sys/conf/NOTES index ffe7bf4..31d195d 100644 --- a/sys/conf/NOTES +++ b/sys/conf/NOTES @@ -352,16 +352,18 @@ options KTRACE #kernel tracing options KTRACE_REQUEST_POOL=101 # -# KTR is a kernel tracing mechanism imported from BSD/OS. Currently it -# has no userland interface aside from a few sysctl's. It is enabled with -# the KTR option. KTR_ENTRIES defines the number of entries in the circular -# trace buffer. KTR_COMPILE defines the mask of events to compile into the -# kernel as defined by the KTR_* constants in <sys/ktr.h>. KTR_MASK defines the -# initial value of the ktr_mask variable which determines at runtime what -# events to trace. KTR_CPUMASK determines which CPU's log events, with -# bit X corresponding to cpu X. KTR_VERBOSE enables dumping of KTR events -# to the console by default. This functionality can be toggled via the -# debug.ktr_verbose sysctl and defaults to off if KTR_VERBOSE is not defined. +# KTR is a kernel tracing mechanism imported from BSD/OS. Currently +# it has no userland interface aside from a few sysctl's. It is +# enabled with the KTR option. KTR_ENTRIES defines the number of +# entries in the circular trace buffer; it must be a power of two. +# KTR_COMPILE defines the mask of events to compile into the kernel as +# defined by the KTR_* constants in <sys/ktr.h>. KTR_MASK defines the +# initial value of the ktr_mask variable which determines at runtime +# what events to trace. KTR_CPUMASK determines which CPU's log +# events, with bit X corresponding to cpu X. KTR_VERBOSE enables +# dumping of KTR events to the console by default. This functionality +# can be toggled via the debug.ktr_verbose sysctl and defaults to off +# if KTR_VERBOSE is not defined. # options KTR options KTR_ENTRIES=1024 |