From fb0ba4fc914bdfaebe5e9fc89d3cee67c71b8b2c Mon Sep 17 00:00:00 2001 From: Philip Guenther Date: Sun, 19 Jun 2016 21:41:52 +0000 Subject: KTRPOINT() takes a KTR_* value, not a KTRFAC_* value. problem noted and based on diff by Michal Mazurek (akfaew (at) jasminek.net) ok jmc@ --- share/man/man9/ktrace.9 | 7 +++---- 1 file 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 -- cgit v1.2.3