summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2014-09-05 17:22:20 +0000
committerjhb <jhb@FreeBSD.org>2014-09-05 17:22:20 +0000
commite5fbff9d81c58554eee8186604876b082bc85e14 (patch)
tree54d91201aff7e7ae909831ac8f79a0e59518e689 /usr.bin
parent2c7959e7bdaf1b082e982955efb3aca825114cd8 (diff)
downloadFreeBSD-src-e5fbff9d81c58554eee8186604876b082bc85e14.zip
FreeBSD-src-e5fbff9d81c58554eee8186604876b082bc85e14.tar.gz
MFC 270674:
Clarify that the -c argument clears the list of tracepoints specified by -t (it does not clear all tracepoints). Approved by: re (gjb for 10)
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