Nate Lawson
ee574da534
Really fix the relative timestamp bug. It was only incorrect for the ALQ
...
case. It seems entries are in reverse order when read from the kernel
memory but in the right order when read from a file (i.e. ALQ). Handle
both cases.
MFC after: 1 day
2005-12-09 14:27:03 +00:00
Nate Lawson
c578cf5e86
Fix -r flag to actually work. "now" comes after "then", not vice versa.
...
MFC after: 1 day
2005-12-06 14:13:39 +00:00
Ruslan Ermilov
39c59153e9
Markup and wording fixes.
...
Approved by: re (blanket)
2005-06-14 11:50:53 +00:00
Christian S.J. Peron
671cff5aec
Append a newline character to the usage string.
...
MFC after: 3 days
2005-06-05 23:49:35 +00:00
Ruslan Ermilov
f682f10c76
Sync program's usage() with manpage's SYNOPSIS.
2005-05-21 09:55:10 +00:00
Hiten Pandya
9e1fb7fbad
Document the '-i' option which allows the user to specify a ktr events
...
log file.
2005-03-08 06:58:56 +00:00
Julian Elischer
c7f4c39534
Don't use an uninitialised variable when reading from a ktr alq file.
2004-09-27 05:56:57 +00:00
Ruslan Ermilov
2410103c1d
mdoc(7) fixes.
2004-07-07 19:57:16 +00:00
Robert Watson
7d8c7fe102
Add a "-r" flag to ktrdump(1) to print relative timestamps when used
...
with "-t" rather than absolute timestamps. This allows the reader
to get a better sense of latency between events, such as time to
schedule an interrupt thread from time the interrupt occurred. Assert
a copyright on ktrdump.c since I seem to be modifying it more than I
thought.
2004-05-22 08:26:10 +00:00
Robert Watson
7ddc893717
Add a quiet mode to ktrdump(1): if the "-q" flag is used, don't print
...
the pretty text header on top of the output. Simplifies feeding the
results of tracing into a script for mechanical processing.
2004-05-21 21:24:58 +00:00
Robert Watson
dd6cf019f3
When the 'f' flag is passed to ktrdump(1), use 40 characters for the
...
"file and line" field consistently; previously, a 32-character field
length was used for the table header, which resulted in the header
not lining up with the table.
2004-05-21 21:15:48 +00:00
David Malone
feeb25809c
Remove an unused variable.
2004-02-15 22:12:32 +00:00
Kris Kennaway
b241e69d12
Use strlcpy() instead of strcpy() to not overflow static buffers.
2002-10-06 23:52:06 +00:00
Jeff Roberson
cba1f1e079
- Add the -i option to read in a saved ktr file output by KTR_ALQ.
2002-09-22 07:21:28 +00:00
Philippe Charnier
084e19802d
The .Nm utility
2002-07-14 15:12:00 +00:00
Ruslan Ermilov
860a2bf505
Added missing DPADD detected by ``make checkdpadd''.
2002-06-06 11:30:57 +00:00
Ruslan Ermilov
35ff8c06b7
mdoc(7) police: fixed typo, minor markup nits.
2002-05-30 13:52:18 +00:00
Jake Burkholder
458e81c958
Add a man page.
...
Submitted by: davidc
2002-04-02 04:26:37 +00:00
Jake Burkholder
d93b1f83cb
1. Add missing include of stdint.h.
...
2. Fix reversed arguments to strcpy.
Noticed by: davidc (2)
2002-04-02 04:24:59 +00:00
Jake Burkholder
be6ba83abd
ktrdump is a utility to dump the ktr trace buffer from userland. It can
...
also be run on a core dump.
2002-04-01 05:41:13 +00:00