mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-24 02:34:59 +00:00
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:
parent
46da8bf8fb
commit
830d03bc97
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=143270
|
@ -56,10 +56,11 @@ KTR provides a circular buffer of events that can be logged in a
|
||||||
.Xr printf 9
|
.Xr printf 9
|
||||||
style
|
style
|
||||||
fashion.
|
fashion.
|
||||||
These events can then be dumped either via
|
These events can then be dumped with
|
||||||
.Xr ddb 4
|
.Xr ddb 4 ,
|
||||||
|
.Xr gdb 1
|
||||||
or
|
or
|
||||||
.Xr gdb 1 .
|
.Xr ktrdump 8 .
|
||||||
.Pp
|
.Pp
|
||||||
Events are created and logged in the kernel via the
|
Events are created and logged in the kernel via the
|
||||||
.Dv CTR Ns Ar x
|
.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
|
This example demonstrates the use of tracepoints at the
|
||||||
.Dv KTR_PROC
|
.Dv KTR_PROC
|
||||||
logging level.
|
logging level.
|
||||||
.Bd -literal -offset indent
|
.Bd -literal -compact
|
||||||
void
|
void
|
||||||
mi_switch()
|
mi_switch()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue