summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2016-06-19 21:41:52 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2016-06-19 21:41:52 +0000
commitfb0ba4fc914bdfaebe5e9fc89d3cee67c71b8b2c (patch)
treefb028108a171ec3754cc28c85af8a893c126c429 /share
parentdecc73ce6e5e44fb6739cf1768f9edcdb972eb99 (diff)
KTRPOINT() takes a KTR_* value, not a KTRFAC_* value.
problem noted and based on diff by Michal Mazurek (akfaew (at) jasminek.net) ok jmc@
Diffstat (limited to 'share')
-rw-r--r--share/man/man9/ktrace.97
1 files changed, 3 insertions, 4 deletions
diff --git a/share/man/man9/ktrace.9 b/share/man/man9/ktrace.9
index 49fbfeaa1fe..d248ed0c8be 100644
--- a/share/man/man9/ktrace.9
+++ b/share/man/man9/ktrace.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ktrace.9,v 1.11 2016/06/15 15:31:27 jmc Exp $
+.\" $OpenBSD: ktrace.9,v 1.12 2016/06/19 21:41:51 guenther Exp $
.\"
.\" Copyright (c) 2003 Michael Shalayeff
.\"
@@ -23,7 +23,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: June 15 2016 $
+.Dd $Mdocdate: June 19 2016 $
.Dt KTRACE 9
.Os
.Sh NAME
@@ -63,9 +63,8 @@ The
.Fn KTRPOINT
macro should be used before calling any of the other tracing functions
to verify that tracing for that particular type of events has been enabled.
-Possible values for the
.Fa type
-argument are a mask of the KTRFAC_ values described in
+must be a KTR_ value corresponding to a KTRFAC_ value described in
.Xr ktrace 2 .
.Pp
.Fn ktrgenio