From owner-svn-src-head@freebsd.org Fri Nov 30 12:17:36 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 63A7E114276B; Fri, 30 Nov 2018 12:17:36 +0000 (UTC) (envelope-from trasz@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 095317FB52; Fri, 30 Nov 2018 12:17:36 +0000 (UTC) (envelope-from trasz@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id DE4B0702; Fri, 30 Nov 2018 12:17:35 +0000 (UTC) (envelope-from trasz@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wAUCHZWE046124; Fri, 30 Nov 2018 12:17:35 GMT (envelope-from trasz@FreeBSD.org) Received: (from trasz@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wAUCHZCB046123; Fri, 30 Nov 2018 12:17:35 GMT (envelope-from trasz@FreeBSD.org) Message-Id: <201811301217.wAUCHZCB046123@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: trasz set sender to trasz@FreeBSD.org using -f From: Edward Tomasz Napierala Date: Fri, 30 Nov 2018 12:17:35 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r341341 - head/share/man/man4 X-SVN-Group: head X-SVN-Commit-Author: trasz X-SVN-Commit-Paths: head/share/man/man4 X-SVN-Commit-Revision: 341341 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 095317FB52 X-Spamd-Result: default: False [0.89 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_SPAM_SHORT(0.24)[0.240,0]; NEURAL_SPAM_MEDIUM(0.31)[0.312,0]; NEURAL_SPAM_LONG(0.34)[0.335,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Nov 2018 12:17:36 -0000 Author: trasz Date: Fri Nov 30 12:17:35 2018 New Revision: 341341 URL: https://svnweb.freebsd.org/changeset/base/341341 Log: Use .Va for sysctls, not .Dv. MFC after: 2 weeks Sponsored by: DARPA, AFRL Modified: head/share/man/man4/textdump.4 Modified: head/share/man/man4/textdump.4 ============================================================================== --- head/share/man/man4/textdump.4 Fri Nov 30 11:50:41 2018 (r341340) +++ head/share/man/man4/textdump.4 Fri Nov 30 12:17:35 2018 (r341341) @@ -27,7 +27,7 @@ .\" .\" $FreeBSD$ .\" -.Dd December 24, 2008 +.Dd November 30, 2018 .Dt TEXTDUMP 4 .Os .Sh NAME @@ -73,30 +73,30 @@ Captured .Xr ddb 4 output, if the capture facility has been used. May be disabled by clearing the -.Dv debug.ddb.textdump.do_ddb +.Va debug.ddb.textdump.do_ddb sysctl. .It Pa config.txt Kernel configuration, if .Cd options INCLUDE_CONFIG_FILE has been compiled into the kernel. May be disabled by clearing the -.Dv debug.ddb.textdump.do_config +.Va debug.ddb.textdump.do_config sysctl. .It Pa msgbuf.txt Kernel message buffer, including recent console output if the capture facility has been used. May be disabled by clearing the -.Dv debug.ddb.textdump.do_msgbuf +.Va debug.ddb.textdump.do_msgbuf sysctl. .It Pa panic.txt Kernel panic string, if the kernel panicked before the dump was generated. May be disabled by clearing the -.Dv debug.ddb.textdump.do_panic +.Va debug.ddb.textdump.do_panic sysctl. .It Pa version.txt Kernel version string. My be disabled by clearing the -.Dv debug.ddb.textdump.do_version +.Va debug.ddb.textdump.do_version sysctl. .El .Pp @@ -115,7 +115,7 @@ dump will be regular memory dumps; however, by using t command in .Xr ddb 4 , or by setting the -.Dv debug.ddb.textdump.pending +.Va debug.ddb.textdump.pending sysctl to 1 using .Xr sysctl 8 , it is possible to request that the next dump be a textdump. @@ -155,7 +155,7 @@ as well as other diagnostics useful to debug the textd .El .Sh EXAMPLES In the following example, the script -.Dv kdb.enter.panic +.Va kdb.enter.panic will run when the kernel debugger is entered as a result of a panic, enable output capture, dump several useful pieces of debugging information, and then invoke panic in order to force a kernel dump to be written out followed by a @@ -166,7 +166,7 @@ script kdb.enter.panic=textdump set; capture on; show .Ed .Pp In the following example, the script -.Dv kdb.enter.witness +.Va kdb.enter.witness will run when the kernel debugger is entered as a result of a witness violation, printing lock-related information for the user: .Bd -literal -offset indent