From owner-freebsd-doc Thu Feb 7 0:31: 4 2002 Delivered-To: freebsd-doc@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id B92D437B431 for ; Thu, 7 Feb 2002 00:30:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g178U2f90513; Thu, 7 Feb 2002 00:30:02 -0800 (PST) (envelope-from gnats) Date: Thu, 7 Feb 2002 00:30:02 -0800 (PST) Message-Id: <200202070830.g178U2f90513@freefall.freebsd.org> To: freebsd-doc@freebsd.org Cc: From: Peter Pentchev Subject: Re: docs/34668: Document '+' for -t in ktrace(1) Reply-To: Peter Pentchev Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR docs/34668; it has been noted by GNATS. From: Peter Pentchev To: Stefan Farfeleder Cc: freebsd-gnats-submit@freebsd.org Subject: Re: docs/34668: Document '+' for -t in ktrace(1) Date: Thu, 7 Feb 2002 10:21:13 +0200 --IrhDeMKUP4DT/M7F Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 06, 2002 at 08:51:58AM -0800, Stefan Farfeleder wrote: >=20 > >Number: 34668 > >Category: docs > >Synopsis: Document '+' for -t in ktrace(1) > >Originator: Stefan Farfeleder >=20 > >Description: > The -t option takes a string of characters, of which '+' wasn't documente= d till now. Wording taken from NetBSD ktrace(1). >=20 > Additional problem: kdump(1) refers to ktrace(1) for information about -t= , but while ktrace defaults to DEF_POINTS (-t +), kdump has ALL_POINTS (-t = +w) when no -t option is given. > >How-To-Repeat: >=20 > >Fix: > --- ktrace.1.orig Wed Feb 6 16:05:12 2002 > +++ ktrace.1 Wed Feb 6 16:40:44 2002 > @@ -119,6 +119,8 @@ > userland traces > .It Cm w > context switches > +.It Cm + > +trace the default set of trace points (c, n, i, s, u) > .El > .It Ar command > Execute Would it not be better to mark those up as Cm's, as in the attached patch? G'luck, Peter --=20 Peter Pentchev roam@ringlet.net roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 This sentence contains exactly threee erors. Index: src/usr.bin/ktrace/ktrace.1 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/ncvs/src/usr.bin/ktrace/ktrace.1,v retrieving revision 1.13 diff -u -r1.13 ktrace.1 --- src/usr.bin/ktrace/ktrace.1 15 Jul 2001 08:01:20 -0000 1.13 +++ src/usr.bin/ktrace/ktrace.1 7 Feb 2002 08:19:48 -0000 @@ -119,6 +119,13 @@ userland traces .It Cm w context switches +.It Cm + +trace the default set of trace points - +.Cm c , +.Cm n , +.Cm i , +.Cm s , +.Cm u .El .It Ar command Execute --IrhDeMKUP4DT/M7F Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjxiOPkACgkQ7Ri2jRYZRVOGogCfR9yGi1ESE7jFEn3Qkprmzfri YkgAn0yfvziDwhkW01CHumj2FVv6Iv9+ =wFVh -----END PGP SIGNATURE----- --IrhDeMKUP4DT/M7F-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message