Make note of the ktrdump(8) utility in the opening paragraph of this

manual page.

Fix indentation of code block in EXAMPLE section so the manual page
can be viewed in a 80 column window.
This commit is contained in:
Hiten Pandya 2005-03-08 01:37:36 +00:00
parent 46da8bf8fb
commit 830d03bc97
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=143270

View file

@ -56,10 +56,11 @@ 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
These events can then be dumped with
.Xr ddb 4 ,
.Xr gdb 1
or
.Xr gdb 1 .
.Xr ktrdump 8 .
.Pp
Events are created and logged in the kernel via the
.Dv CTR Ns Ar x
@ -109,7 +110,7 @@ the console in addition to the event buffer.
This example demonstrates the use of tracepoints at the
.Dv KTR_PROC
logging level.
.Bd -literal -offset indent
.Bd -literal -compact
void
mi_switch()
{