mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04: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
1 changed files with 5 additions and 4 deletions
|
|
@ -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()
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue