History log of /freebsd-current/usr.bin/kdump/kdump.1
Revision Date Author Comments
# bdcbfde3 23-Nov-2023 Warner Losh <imp@FreeBSD.org>

usr.bin: Remove ancient SCCS tags.

Remove ancient SCCS tags from the tree, automated scripting, with two
minor fixup to keep things compiling. All the common forms in the tree
were removed with a perl script.

Sponsored by: Netflix


# b2c76c41 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line nroff pattern

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


# ae37e4a0 15-Jul-2022 Dmitry Chagin <dchagin@FreeBSD.org>

kdump(1): Sort options in alphabetical order.

Reviewed by: imp (early rev)
Differential Revision: https://reviews.freebsd.org/D35775
MFC after: 2 weeks


# fc90f3a2 15-Jul-2022 Dmitry Chagin <dchagin@FreeBSD.org>

ktrace: Increase precision of timestamps.

Replace struct timeval in header with struct timespec.
To differentiate header formats, add a new KTR_VERSIONED flag
set in the header type field similar to the existing KTRDROP flag.

To make it easier to extend ktrace headers in the future,
extend the existing header with a version field (version 0 is
reserved for older records without KTR_VERSIONED) as well as
new fields holding the thread ID and CPU ID.

Reviewed by: jhb, pauamma
Differential Revision: https://reviews.freebsd.org/D35774
MFC after: 2 weeks


# fbbd9655 28-Feb-2017 Warner Losh <imp@FreeBSD.org>

Renumber copyright clause 4

Renumber cluase 4 to 3, per what everybody else did when BSD granted
them permission to remove clause 3. My insistance on keeping the same
numbering for legal reasons is too pedantic, so give up on that point.

Submitted by: Jan Schaumann <jschauma@stevens.edu>
Pull Request: https://github.com/freebsd/freebsd/pull/96


# b9034ce2 28-Mar-2014 Bryan Drewery <bdrewery@FreeBSD.org>

Add `-S' to display syscall numbers in the output as well.

This is useful for debugging compat modules.

Sponsored by: EMC / Isilon Storage Division
Obtained from: Isilon OneFS (based on work by Jeff Hughes)
MFC after: 2 weeks


# 01a36e29 04-Jun-2012 John Baldwin <jhb@FreeBSD.org>

Allow the -p argument to kdump to accept either a PID or a thread ID.

Submitted by: Dmitry Banschikov d.banschikov hostcomm ru
MFC after: 1 week


# 88bf5036 20-Apr-2012 John Baldwin <jhb@FreeBSD.org>

Include the associated wait channel message for context switch ktrace
records. kdump supports both the old and new messages.

Submitted by: Andrey Zonov andrey zonov org
MFC after: 1 week


# 35818d2e 05-Apr-2012 John Baldwin <jhb@FreeBSD.org>

Add new ktrace records for the start and end of VM faults. This gives
a pair of records similar to syscall entry and return that a user can
use to determine how long page faults take. The new ktrace records are
enabled via the 'p' trace type, and are enabled in the default set of
trace points.

Reviewed by: kib
MFC after: 2 weeks


# a30c325c 25-Feb-2011 Dmitry Chagin <dchagin@FreeBSD.org>

Update manual page to reflect latest changes of ABI description support.

MFC after: 1 Month.


# da52b4ca 11-Dec-2010 Joel Dahl <joel@FreeBSD.org>

Remove the advertising clause from UCB copyrighted files in usr.bin. This
is in accordance with the information provided at
ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change

Also add $FreeBSD$ to a few files to keep svn happy.

Discussed with: imp, rwatson


# c23d84a8 01-Nov-2010 John Baldwin <jhb@FreeBSD.org>

Correct the abbreviations for general I/O and signal traces.

PR: docs/151854
Submitted by: Stephen Veiss stephen of brokenbottle net
MFC after: 3 days


# 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.


# a56be37e 11-Mar-2009 John Baldwin <jhb@FreeBSD.org>

Add a new type of KTRACE record for sysctl(3) invocations. It uses the
internal sysctl_sysctl_name() handler to map the MIB array to a string
name and logs this name in the trace log. This can be useful to see
exactly which sysctls a thread is invoking.

MFC after: 1 month


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

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


# da647ae9 02-Apr-2008 Ruslan Ermilov <ru@FreeBSD.org>

Spell -t option's argument by name.


# 60e15db9 22-Feb-2008 Dag-Erling Smørgrav <des@FreeBSD.org>

This patch adds a new ktrace(2) record type, KTR_STRUCT, whose payload
consists of the null-terminated name and the contents of any structure
you wish to record. A new ktrstruct() function constructs and emits a
KTR_STRUCT record. It is accompanied by convenience macros for struct
stat and struct sockaddr.

In kdump(1), KTR_STRUCT records are handled by a dispatcher function
that runs stringent sanity checks on its contents before handing it
over to individual decoding funtions for each type of structure.
Currently supported structures are struct stat and struct sockaddr for
the AF_INET, AF_INET6 and AF_UNIX families; support for AF_APPLETALK
and AF_IPX is present but disabled, as I am unable to test it properly.

Since 's' was already taken, the letter 't' is used by ktrace(1) to
enable KTR_STRUCT trace points, and in kdump(1) to enable their
decoding.

Derived from patches by Andrew Li <andrew2.li@citi.com>.

PR: kern/117836
MFC after: 3 weeks


# 4e9e907d 18-Nov-2005 Ruslan Ermilov <ru@FreeBSD.org>

-mdoc sweep.


# df0c8868 12-Nov-2005 Robert Watson <rwatson@FreeBSD.org>

Add "-s" argument to kdump to suppress the display of I/O data.

MFC after: 1 week


# a9ac598b 01-Nov-2005 Robert Watson <rwatson@FreeBSD.org>

Add a "-H" argument to kdump, which causes kdump to print an additional
field holding the threadid. This is more useful for libthr than
libpthread, but still quite useful in libpthread as it can be used to
process interlaced records from multiple threads over the course of a
system call.

Detect old ktr_buffer values using the heuristic "if it's negative,
then it must not be a valid threadid". This may leave something to be
desired.

MFC after: 1 month
Reviewed by: davidxu


# a9a2bf99 27-Jan-2005 George V. Neville-Neil <gnn@FreeBSD.org>

Update kdump manual page with information on the dump format.
Add a table with the different types of operations traced.

Reviewed by: Ruslan Ermilov
Approved by: Robert Watson (mentor)


# b388c4ac 18-May-2004 Ruslan Ermilov <ru@FreeBSD.org>

Bump document date on behalf of the -E option.


# 24b64809 08-Dec-2003 Peter Wemm <peter@FreeBSD.org>

First pass at attempted debrucification:
- sort the -E switch into the right place.
- add previously missing -p pid in usage (from the last few commits).
- add -E to usage.
- consistently use trfile in the man page.

I knew I shouldn't have touched the man page. If I commit to a man page,
it just makes people suspicious. :-)


# ec131914 06-Dec-2003 Peter Wemm <peter@FreeBSD.org>

Add a -E (elapsed time) flag to kdump. This is like -T, except it is
relative to start of the dump.

Approved by: re (scottl)


# ec4beb5d 02-Jun-2003 Peter Wemm <peter@FreeBSD.org>

Two enhancements for kdump.
1) add a "-p pid", which is rather useful for selecting a single pid in
a combined trace file (eg: with ktrace -i).
2) display binary genio data in a more precise format.


# f247324d 15-Jul-2001 Dima Dorfman <dd@FreeBSD.org>

Remove whitespace at EOL.


# 62500372 10-Jul-2001 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: removed HISTORY info from the .Os call.


# c3aac50f 27-Aug-1999 Peter Wemm <peter@FreeBSD.org>

$Id$ -> $FreeBSD$


# 15fc002b 16-Jul-1997 Philippe Charnier <charnier@FreeBSD.org>

Use err(3). Correct incomplete man page.


# 93e0d62d 27-Apr-1997 John-Mark Gurney <jmg@FreeBSD.org>

``appears'' -> ``appeared'' (closes PR#3393, Submitted-by: Josh Gilliam)

add missing Id's
other minor clean ups


# 82e2dd32 19-Sep-1996 Poul-Henning Kamp <phk@FreeBSD.org>

For now we just hexdump the stuff in USER records.


# 9b50d902 26-May-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

BSD 4.4 Lite Usr.bin Sources