summaryrefslogtreecommitdiff
path: root/usr.bin/kdump
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@cvs.openbsd.org>2023-09-30 13:03:41 +0000
committerChristian Weisgerber <naddy@cvs.openbsd.org>2023-09-30 13:03:41 +0000
commit6534c590251ef097c514f06e638060c1e4cce625 (patch)
treee4e365869fef22b97c823f2b07adcbd2c30c5bc2 /usr.bin/kdump
parent1b844279875ba778d3b2cd6380a9e4a248266c4e (diff)
list tracepoints directly in kdump.1 instead of pointing to ktrace.1
Also add a note to the respective section in kdump.1, ktrace.1, and ltrace.1 to keep in sync with each other; suggested by schwarze@. ok deraadt@ schwarze@
Diffstat (limited to 'usr.bin/kdump')
-rw-r--r--usr.bin/kdump/kdump.144
1 files changed, 35 insertions, 9 deletions
diff --git a/usr.bin/kdump/kdump.1 b/usr.bin/kdump/kdump.1
index 936c630a109..1c745572321 100644
--- a/usr.bin/kdump/kdump.1
+++ b/usr.bin/kdump/kdump.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: kdump.1,v 1.37 2023/04/17 05:43:12 jmc Exp $
+.\" $OpenBSD: kdump.1,v 1.38 2023/09/30 13:03:40 naddy Exp $
.\"
.\" Copyright (c) 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" from: @(#)kdump.1 8.1 (Berkeley) 6/6/93
.\"
-.Dd $Mdocdate: April 17 2023 $
+.Dd $Mdocdate: September 30 2023 $
.Dt KDUMP 1
.Os
.Sh NAME
@@ -100,13 +100,39 @@ Display absolute timestamps for each entry (seconds since the Epoch).
If both options are specified, display timestamps relative to trace start.
.It Fl t Ar trstr
Select which tracepoints to display.
-The argument can contain one or more of the letters
-.Cm cinpstuxX+ .
-See the
-.Fl t
-option of
-.Xr ktrace 1
-for the meaning of the letters.
+The argument can contain one or more of the following letters.
+By default all trace points except for
+.Cm X
+are enabled.
+.Pp
+.Bl -tag -width flag -offset indent -compact
+.\" Keep this list in sync with ktrace(1) and ltrace(1).
+.It Cm c
+trace system calls
+.It Cm i
+trace I/O
+.It Cm n
+trace namei translations
+.It Cm p
+trace violation of
+.Xr pledge 2
+restrictions
+.It Cm s
+trace signal processing
+.It Cm t
+trace various structures
+.It Cm u
+trace user data coming from
+.Xr utrace 2
+.It Cm x
+trace argument vector in
+.Xr execve 2
+.It Cm X
+trace environment in
+.Xr execve 2
+.It Cm +
+trace the default points
+.El
.It Fl u Ar label
Display
.Xr utrace 2