summaryrefslogtreecommitdiffstats
path: root/share/man/man4/ktr.4
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2002-10-12 02:56:46 +0000
committerjeff <jeff@FreeBSD.org>2002-10-12 02:56:46 +0000
commitca245d840030fad98c8754003e0c31ce2ce642b8 (patch)
treece6023f2eef08af5cb44a88d77abb46bebc435c8 /share/man/man4/ktr.4
parent2e9ca557fc86c427c5abbaae859da8269616aa74 (diff)
downloadFreeBSD-src-ca245d840030fad98c8754003e0c31ce2ce642b8.zip
FreeBSD-src-ca245d840030fad98c8754003e0c31ce2ce642b8.tar.gz
- Move the description of KTR_CPUMASK into the "Event Masking" section.
- Remove the "Extensions" section since it is no longer relavent. - Create a new section for KTR_VERBOSE and put it's description there.
Diffstat (limited to 'share/man/man4/ktr.4')
-rw-r--r--share/man/man4/ktr.429
1 files changed, 2 insertions, 27 deletions
diff --git a/share/man/man4/ktr.4 b/share/man/man4/ktr.4
index 99634af..a00f407 100644
--- a/share/man/man4/ktr.4
+++ b/share/man/man4/ktr.4
@@ -81,21 +81,8 @@ By default the run time mask is set to log only
events.
The definitions of the event mask bits can be found in
.Aq Pa sys/ktr.h .
-.Ss Extensions
-The kernel can be configured to compile with several extensions to the base
-functionality via the
-.Dv KTR_EXTEND
-option.
-These extensions can be checked for via the
-.Va debug.ktr.extend
-read-only sysctl.
-It will be set to zero if the extensions are not compiled in and non-zero
-if they are compiled in.
-If the extensions are compiled in, then each event entry includes the filename
-and line number that the event was logged from as well as the CPU on which
-the current thread was executing when the event was logged.
.Pp
-One extension is a CPU event mask whose default value can be changed via
+Furthermore, there is a CPU event mask whose default value can be changed via
the
.Dv KTR_CPUMASK
option.
@@ -110,19 +97,7 @@ It can also be examined and set after booting via the
.Va debug.ktr.cpumask
sysctl.
By default events on all CPUs are enabled.
-.Pp
-The log messages go through more processing at log time when the extensions
-are enabled as well.
-In the basic mode, the format string and arguments are stored directly in
-the event entry.
-In the extended mode,
-.Xr snprintf 9
-is invoked and the resulting string is stored directly in the event entry.
-This extra processing is more expensive in terms of execution but produces
-events that are arguably more readable and easier to parse for some utilities
-such as
-.Xr ddb 4 .
-.Pp
+.Ss Verbose mode
By default, events are only logged to the internal buffer for examination
later, but if the verbose flag is set then they are dumped to the kernel
console as well.
OpenPOWER on IntegriCloud