summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys
diff options
context:
space:
mode:
authorjkoshy <jkoshy@FreeBSD.org>2003-11-11 04:59:25 +0000
committerjkoshy <jkoshy@FreeBSD.org>2003-11-11 04:59:25 +0000
commitcc852a80a31de8499d7cb796db663450b8fd1596 (patch)
tree3be788511df82159f4874178d7bb900a1f7ca8af /lib/libc/sys
parenta3df3cda2499d993979b99e5cdc6b9ac695a8587 (diff)
downloadFreeBSD-src-cc852a80a31de8499d7cb796db663450b8fd1596.zip
FreeBSD-src-cc852a80a31de8499d7cb796db663450b8fd1596.tar.gz
Add a section documenting the sysctl(8) tunables that influence the
operation of ktrace(2). Add a cross-reference to sysctl(8). Make the language of rev 1.22 more consistent with the rest of the manual page.
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/ktrace.217
1 files changed, 15 insertions, 2 deletions
diff --git a/lib/libc/sys/ktrace.2 b/lib/libc/sys/ktrace.2
index 5bc8210..059142c 100644
--- a/lib/libc/sys/ktrace.2
+++ b/lib/libc/sys/ktrace.2
@@ -135,6 +135,18 @@ record.
The type specific records are defined in the
.In sys/ktrace.h
include file.
+.Sh SYSCTL TUNABLES
+The following
+.Xr sysctl 8
+tunables influence the behaviour of
+.Fn ktrace :
+.Bl -tag -width indent
+.It Va kern.ktrace.geniosize
+bounds the amount of data a traced I/O request will log
+to the trace file.
+.It Va kern.ktrace.request_pool
+bounds the number of trace events being logged at a time.
+.El
.Sh RETURN VALUES
.Rv -std ktrace
.Sh ERRORS
@@ -162,7 +174,7 @@ The kernel was not compiled with
support.
.El
.Pp
-A thread may be unable to post one or more tracing requests due to a
+A thread may be unable to log one or more tracing events due to a
temporary shortage of resources.
This condition is remembered by the kernel, and the next tracing request
that succeeds will have the flag
@@ -173,7 +185,8 @@ field.
.Sh SEE ALSO
.Xr kdump 1 ,
.Xr ktrace 1 ,
-.Xr utrace 2
+.Xr utrace 2 ,
+.Xr sysctl 8
.Sh HISTORY
The
.Fn ktrace
OpenPOWER on IntegriCloud