summaryrefslogtreecommitdiffstats
path: root/usr.bin/ktrdump/ktrdump.8
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2004-05-22 08:26:10 +0000
committerrwatson <rwatson@FreeBSD.org>2004-05-22 08:26:10 +0000
commitba22e917d3f615aec4c841bf6eb16544dd1105fb (patch)
tree18b245f16eff90a657b08eb88d0a8cf58e4197ac /usr.bin/ktrdump/ktrdump.8
parent5d0912f6d822aa43b6aee5b532f4748d03c89146 (diff)
downloadFreeBSD-src-ba22e917d3f615aec4c841bf6eb16544dd1105fb.zip
FreeBSD-src-ba22e917d3f615aec4c841bf6eb16544dd1105fb.tar.gz
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.
Diffstat (limited to 'usr.bin/ktrdump/ktrdump.8')
-rw-r--r--usr.bin/ktrdump/ktrdump.84
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/ktrdump/ktrdump.8 b/usr.bin/ktrdump/ktrdump.8
index db931a6..ec235e5 100644
--- a/usr.bin/ktrdump/ktrdump.8
+++ b/usr.bin/ktrdump/ktrdump.8
@@ -33,7 +33,7 @@
.Nd print kernel ktr trace buffer
.Sh SYNOPSIS
.Nm
-.Op Fl cfqt
+.Op Fl cfqrt
.Op Fl e Ar execfile
.Op Fl m Ar corefile
.Op Fl o Ar outfile
@@ -50,6 +50,8 @@ Print the CPU number that each entry was logged from.
Print the file and line number that each entry was logged from.
.It Fl q
Quiet mode; don't print the column header.
+.It Fl r
+Print relative timestamps rather than absolute timestamps.
.It Fl t
Print the timestamp for each entry.
.It Fl e Ar execfile
OpenPOWER on IntegriCloud