History log of /freebsd-current/usr.bin/ktrdump/ktrdump.8
Revision Date Author Comments
# fa9896e0 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: two-line nroff pattern

Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/


# 44036570 22-Oct-2018 John Baldwin <jhb@FreeBSD.org>

Add a "live" mode to ktrdump.

Support a "live" mode in ktrdump enabled via the -l flag. In this
mode, ktrdump polls the kernel's trace buffer periodically (currently
hardcoded as a 50 millisecond interval) and dumps any newly added
entries. Fancier logic for the timeout (e.g. a command line option or
some kind of backoff based on the time since the last entry) can be
added later as the need arises.

While here, fix some bugs from when this was Capsicum-ized:
- Use caph_limit_stream() for the output stream so that isatty() works
and the output can be line-buffered (especially useful for live
mode).
- Use caph_limit_stderr() to permit error messages to be displayed if
an error occurs after cap_enter().

Reviewed by: kib, 0mp (manpage)
MFC after: 2 months
Differential Revision: https://reviews.freebsd.org/D17315


# 330c5443 06-Feb-2015 John Baldwin <jhb@FreeBSD.org>

Change ktrdump to use the more standard -M/-N flags to specify the path
to a crash dump and kernel, respectively. The existing -m/-e flags are
still supported for backwards compatiblity but are no longer documented.

Requested by: np
MFC after: 2 weeks


# 2b7af31c 23-Jun-2014 Baptiste Daroussin <bapt@FreeBSD.org>

use .Mt to mark up email addresses consistently (part3)

PR: 191174
Submitted by: Franco Fichtner <franco at lastsummer.de>


# 718f2aed 25-Jan-2011 Dmitry Chagin <dchagin@FreeBSD.org>

Add -H flag to print thread id.


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# fe0506d7 09-Mar-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Create the altix project branch. The altix project will add support
for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting
is a two-module system, consisting of a base compute module and a
CPU expansion module. SGI's NUMAFlex architecture can be an excellent
platform to test CPU affinity and NUMA-aware features in FreeBSD.


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# 39c59153 14-Jun-2005 Ruslan Ermilov <ru@FreeBSD.org>

Markup and wording fixes.

Approved by: re (blanket)


# 9e1fb7fb 07-Mar-2005 Hiten Pandya <hmp@FreeBSD.org>

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


# 2410103c 07-Jul-2004 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) fixes.


# 7d8c7fe1 22-May-2004 Robert Watson <rwatson@FreeBSD.org>

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.


# 7ddc8937 21-May-2004 Robert Watson <rwatson@FreeBSD.org>

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.


# 084e1980 14-Jul-2002 Philippe Charnier <charnier@FreeBSD.org>

The .Nm utility


# 35ff8c06 30-May-2002 Ruslan Ermilov <ru@FreeBSD.org>

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


# 458e81c9 01-Apr-2002 Jake Burkholder <jake@FreeBSD.org>

Add a man page.

Submitted by: davidc