--- src/usr.bin/ktrdump/ktrdump.8 2005/03/08 07:08:29 1.2 +++ src/usr.bin/ktrdump/ktrdump.8 2005/06/21 00:47:07 1.3 @@ -34,10 +34,9 @@ .Nd print kernel ktr trace buffer .Sh SYNOPSIS .Nm -.Op Fl cfqrt -.Op Fl e Ar execfile -.Op Fl i Ar ktrfile -.Op Fl m Ar corefile +.Op Fl acfipqrtx +.Op Fl N Ar execfile +.Op Fl M Ar corefile .Op Fl o Ar outfile .Sh DESCRIPTION The @@ -45,26 +44,33 @@ The utility is used to dump the contents of the kernel ktr trace buffer. .Pp The following options are available: -.Bl -tag -width ".Fl e Ar execfile" +.Bl -tag -width ".Fl N Ar execfile" +.It Fl a +Print all fields. Implies all print options. .It Fl c Print the CPU number that each entry was logged from. .It Fl f Print the file and line number that each entry was logged from. +.It Fl i +Print the ID string field, identifying the facility being logged. +.It Fl p +Print the trace data. .It Fl q Quiet mode; do not print the column header. .It Fl r Print relative timestamps rather than absolute timestamps. +.It Fl x +Print the call chain leading up to the procedure which issued +the KTR. .It Fl t Print the timestamp for each entry. -.It Fl i Ar ktrfile -File containing saved ktr trace events; for more information see the .Xr ktr 4 manual page. -.It Fl e Ar execfile +.It Fl N Ar execfile The kernel image to resolve symbols from. The default is the value returned via .Xr getbootfile 3 . -.It Fl m Ar corefile +.It Fl M Ar corefile The core file or memory image to read from. The default is .Pa /dev/mem .