From 5274183ef43893d91ef8828cc675713e2e951cdf Mon Sep 17 00:00:00 2001 From: Joseph Koshy Date: Tue, 11 Nov 2003 04:59:25 +0000 Subject: 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. --- lib/libc/sys/ktrace.2 | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/libc/sys/ktrace.2 b/lib/libc/sys/ktrace.2 index 5bc8210dbe7d..059142cdeb47 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 -- cgit v1.3