summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-07-06 09:20:19 +0000
committerru <ru@FreeBSD.org>2001-07-06 09:20:19 +0000
commit15d58184c11e985b4b79845ffe5aac847f6b1f60 (patch)
tree57d2894e28cc192bbcbdcd5e576709e3e5b0b3bd /share
parent479a4175c8e46dcaeffa47b83012be12baf8112f (diff)
downloadFreeBSD-src-15d58184c11e985b4b79845ffe5aac847f6b1f60.zip
FreeBSD-src-15d58184c11e985b4b79845ffe5aac847f6b1f60.tar.gz
mdoc(7) police: minor formatting fixes.
Diffstat (limited to 'share')
-rw-r--r--share/man/man9/ktr.927
1 files changed, 12 insertions, 15 deletions
diff --git a/share/man/man9/ktr.9 b/share/man/man9/ktr.9
index a816d61..76b6d2e 100644
--- a/share/man/man9/ktr.9
+++ b/share/man/man9/ktr.9
@@ -28,21 +28,16 @@
.Dt KTR 9
.Os
.Sh NAME
-.Nm CTR0 ,
-.Nm CTR1 ,
-.Nm CTR2 ,
-.Nm CTR3 ,
-.Nm CTR4 ,
-.Nm CTR5
+.Nm CTR0 , CTR1 , CTR2 , CTR3 , CTR4 , CTR5
.Nd kernel tracing facility
.Sh SYNOPSIS
-.Fd #include <sys/ktr.h>
-.Vt "extern int ktr_cpumask" ;
-.Vt "extern int ktr_entries" ;
-.Vt "extern int ktr_extend" ;
-.Vt "extern int ktr_mask" ;
-.Vt "extern int ktr_verbose" ;
-.Vt "extern struct ktr_entry ktr_buf[]" ;
+.In sys/ktr.h
+.Vt "extern int ktr_cpumask" ;
+.Vt "extern int ktr_entries" ;
+.Vt "extern int ktr_extend" ;
+.Vt "extern int ktr_mask" ;
+.Vt "extern int ktr_verbose" ;
+.Vt "extern struct ktr_entry ktr_buf[]" ;
.Ft void
.Fn CTR0 "u_int mask" "char *format"
.Ft void
@@ -56,7 +51,9 @@
.Ft void
.Fn CTR5 "u_int mask" "char *format" "arg1" "arg2" "arg3" "arg4" "arg5"
.Sh DESCRIPTION
-KTR provides a circular buffer of events that can be logged in a printf style
+KTR provides a circular buffer of events that can be logged in a
+.Xr printf 9
+style
fashion.
These events can then be dumped either via
.Xr ddb 4
@@ -64,7 +61,7 @@ or
.Xr gdb 1 .
.Pp
Events are created and logged in the kernel via the
-.Dv CTRx
+.Dv CTR Ns Ar x
macros.
The first parameter is a mask of event types
.Pq Dv KTR_*
OpenPOWER on IntegriCloud