summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2014-08-26 21:21:57 +0000
committerjhb <jhb@FreeBSD.org>2014-08-26 21:21:57 +0000
commit50a0947645e40bbba1581c237dc5cded97c905c9 (patch)
tree19c91008d0887babdde9ce2d29c0e551de626b61 /usr.bin
parent368ac164f93e0e7a05e661911233184d214e4bae (diff)
downloadFreeBSD-src-50a0947645e40bbba1581c237dc5cded97c905c9.zip
FreeBSD-src-50a0947645e40bbba1581c237dc5cded97c905c9.tar.gz
Clarify that the -c argument clears the list of tracepoints specified by
-t (it does not clear all tracepoints). Submitted by: jmg, Eric van Gyzen <eric@vangyzen.net> MFC after: 1 week
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/ktrace/ktrace.110
1 files changed, 6 insertions, 4 deletions
diff --git a/usr.bin/ktrace/ktrace.1 b/usr.bin/ktrace/ktrace.1
index 1170ae8..a5e930a 100644
--- a/usr.bin/ktrace/ktrace.1
+++ b/usr.bin/ktrace/ktrace.1
@@ -28,7 +28,7 @@
.\" @(#)ktrace.1 8.1 (Berkeley) 6/6/93
.\" $FreeBSD$
.\"
-.Dd May 31, 2012
+.Dd August 26, 2014
.Dt KTRACE 1
.Os
.Sh NAME
@@ -81,7 +81,7 @@ Append to the trace file instead of recreating it.
Disable tracing on all user-owned processes, and, if executed by root, all
processes in the system.
.It Fl c
-Clear the trace points associated with the specified file or processes.
+Clear the specified trace points associated with the given file or processes.
.It Fl d
Descendants; perform the operation for all current children of the
designated processes.
@@ -102,8 +102,10 @@ Enable (disable) tracing on the indicated process id (only one
.Fl p
flag is permitted).
.It Fl t Ar trstr
-The string argument represents the kernel trace points, one per letter.
-The following table equates the letters with the tracepoints:
+Specify the list of trace points to enable or disable, one per letter.
+If an explicit list is not specified, the default set of trace points is used.
+.Pp
+The following trace points are supported:
.Pp
.Bl -tag -width flag -compact
.It Cm c
OpenPOWER on IntegriCloud