History log of /freebsd-10.0-release/usr.bin/ktrdump/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
259065 07-Dec-2013 gjb

- Copy stable/10 (r259064) to releng/10.0 as part of the
10.0-RELEASE cycle.
- Update __FreeBSD_version [1]
- Set branch name to -RC1

[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so
start releng/10.0 at '100' so the branch is started with
a value ending in zero.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


243046 15-Nov-2012 jeff

- Implement run-time expansion of the KTR buffer via sysctl.
- Implement a function to ensure that all preempted threads have switched
back out at least once. Use this to make sure there are no stale
references to the old ktr_buf or the lock profiling buffers before
updating them.

Reviewed by: marius (sparc64 parts), attilio (earlier patch)
Sponsored by: EMC / Isilon Storage Division


242378 30-Oct-2012 np

Catch up with r238925. ktr_entries may not be a power of 2.


217873 26-Jan-2011 dchagin

Add -H flag to print thread id.


201386 02-Jan-2010 ed

Build usr.bin/ with WARNS=6 by default.

Also add some missing $FreeBSD$ to keep svn happy.


188890 21-Feb-2009 delphij

Remove unnecessary opt* definations.


154274 12-Jan-2006 glebius

Skip format flags, when parsing ktr_desc.


153270 09-Dec-2005 njl

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


153170 06-Dec-2005 njl

Fix -r flag to actually work. "now" comes after "then", not vice versa.

MFC after: 1 day


147370 14-Jun-2005 ru

Markup and wording fixes.

Approved by: re (blanket)


147034 05-Jun-2005 csjp

Append a newline character to the usage string.

MFC after: 3 days


146466 21-May-2005 ru

Sync program's usage() with manpage's SYNOPSIS.


143275 08-Mar-2005 hmp

Document the '-i' option which allows the user to specify a ktr events
log file.


135842 27-Sep-2004 julian

Don't use an uninitialised variable when reading from a ktr alq file.


131754 07-Jul-2004 ru

mdoc(7) fixes.


129574 22-May-2004 rwatson

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.


129559 21-May-2004 rwatson

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.


129558 21-May-2004 rwatson

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.


125858 15-Feb-2004 dwmalone

Remove an unused variable.


104586 06-Oct-2002 kris

Use strlcpy() instead of strcpy() to not overflow static buffers.


103791 22-Sep-2002 jeff

- Add the -i option to read in a saved ktr file output by KTR_ALQ.


99970 14-Jul-2002 charnier

The .Nm utility


97927 06-Jun-2002 ru

Added missing DPADD detected by ``make checkdpadd''.


97600 30-May-2002 ru

mdoc(7) police: fixed typo, minor markup nits.


93618 02-Apr-2002 jake

Add a man page.

Submitted by: davidc


93617 02-Apr-2002 jake

1. Add missing include of stdint.h.
2. Fix reversed arguments to strcpy.

Noticed by: davidc (2)


93504 01-Apr-2002 jake

ktrdump is a utility to dump the ktr trace buffer from userland. It can
also be run on a core dump.