CVS commit: src/usr.bin/ktrace

2024-02-12 Thread David H. Gutteridge
Module Name:src
Committed By:   gutteridge
Date:   Mon Feb 12 22:53:21 UTC 2024

Modified Files:
src/usr.bin/ktrace: ktrace.1

Log Message:
ktrace.1: apply minor spelling consistency

Use "tracepoint" consistently, rather than a mix with "trace point",
sometimes in the same paragraph. "Breakpoint" and "tracepoint" are
most commonly rendered without the space in tech documentation, AFAIK.


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/usr.bin/ktrace/ktrace.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/ktrace/ktrace.1
diff -u src/usr.bin/ktrace/ktrace.1:1.48 src/usr.bin/ktrace/ktrace.1:1.49
--- src/usr.bin/ktrace/ktrace.1:1.48	Sat May  6 10:45:14 2023
+++ src/usr.bin/ktrace/ktrace.1	Mon Feb 12 22:53:21 2024
@@ -1,4 +1,4 @@
-.\"	$NetBSD: ktrace.1,v 1.48 2023/05/06 10:45:14 uwe Exp $
+.\"	$NetBSD: ktrace.1,v 1.49 2024/02/12 22:53:21 gutteridge Exp $
 .\"
 .\" Copyright (c) 1990, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -74,7 +74,7 @@ translations, signal processing, and
 .Tn I/O .
 .Pp
 Once tracing is enabled on a process, trace data will be logged until
-either the process exits or the trace point is cleared.
+either the process exits or the tracepoint is cleared.
 A traced process can generate enormous amounts of log data quickly.
 It is strongly suggested that users memorize how to disable tracing before
 attempting to trace a process.
@@ -110,7 +110,7 @@ processes in the system.
 .It Fl c
 Clear
 .Pq disable
-the trace points associated with the specified file or processes.
+the tracepoints associated with the specified file or processes.
 .It Fl d
 Descendants; perform the operation for all current children of the
 designated processes.
@@ -183,7 +183,7 @@ Same as the
 .Fl R
 option, but use absolute timestamps instead.
 .It Fl t Ar trstr
-The string argument represents the kernel trace points, one per letter.
+The string argument represents the kernel tracepoints, one per letter.
 The following table equates the letters with the tracepoints:
 .Pp
 .Bl -tag -width flag -compact
@@ -215,9 +215,9 @@ trace exec environment
 .It Cm w
 trace context switches
 .It Cm +
-trace the default set of trace points (c, e, i, n, s, u)
+trace the default set of tracepoints (c, e, i, n, s, u)
 .It Cm -
-do not trace following trace points
+do not trace following tracepoints
 .El
 .It Fl v Ar version
 Determines the



CVS commit: src/usr.bin/ktrace

2024-02-12 Thread David H. Gutteridge
Module Name:src
Committed By:   gutteridge
Date:   Mon Feb 12 22:53:21 UTC 2024

Modified Files:
src/usr.bin/ktrace: ktrace.1

Log Message:
ktrace.1: apply minor spelling consistency

Use "tracepoint" consistently, rather than a mix with "trace point",
sometimes in the same paragraph. "Breakpoint" and "tracepoint" are
most commonly rendered without the space in tech documentation, AFAIK.


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/usr.bin/ktrace/ktrace.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/ktrace

2023-05-06 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Sat May  6 10:45:14 UTC 2023

Modified Files:
src/usr.bin/ktrace: ktrace.1

Log Message:
ktrace(1): tweak -c wording for clarity


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 src/usr.bin/ktrace/ktrace.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/ktrace/ktrace.1
diff -u src/usr.bin/ktrace/ktrace.1:1.47 src/usr.bin/ktrace/ktrace.1:1.48
--- src/usr.bin/ktrace/ktrace.1:1.47	Fri Sep  2 03:43:53 2022
+++ src/usr.bin/ktrace/ktrace.1	Sat May  6 10:45:14 2023
@@ -1,4 +1,4 @@
-.\"	$NetBSD: ktrace.1,v 1.47 2022/09/02 03:43:53 gutteridge Exp $
+.\"	$NetBSD: ktrace.1,v 1.48 2023/05/06 10:45:14 uwe Exp $
 .\"
 .\" Copyright (c) 1990, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -103,10 +103,14 @@ The options are as follows:
 .It Fl a
 Append to the trace file instead of truncating it.
 .It Fl C
-Disable tracing on all user owned processes, and, if executed by root, all
+Clear
+.Pq disable
+tracing on all user owned processes, and, if executed by root, all
 processes in the system.
 .It Fl c
-Clear the trace points associated with the specified file or processes.
+Clear
+.Pq disable
+the trace points associated with the specified file or processes.
 .It Fl d
 Descendants; perform the operation for all current children of the
 designated processes.
@@ -124,9 +128,12 @@ Read the trace records from
 .Ar infile
 and print them in a human readable format to standard out.
 .It Fl g Ar pgid
-Enable (disable) tracing on all processes in the process group (only one
+Enable
+.Pq disable with Fl c
+tracing on all processes in the process group.
+Only one
 .Fl g
-flag is permitted).
+flag is permitted.
 .It Fl i
 Inherit; pass the trace flags to all future children of the designated
 processes.
@@ -161,9 +168,12 @@ Without this option
 will print its output in a human
 readable format to standard out.
 .It Fl p Ar pid
-Enable (disable) tracing on the indicated process id (only one
+Enable
+.Pq disable with Fl c
+tracing on the indicated process id.
+Only one
 .Fl p
-flag is permitted).
+flag is permitted.
 .It Fl R
 Display relative time stamps to output.
 .It Fl s



CVS commit: src/usr.bin/ktrace

2023-05-06 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Sat May  6 10:45:14 UTC 2023

Modified Files:
src/usr.bin/ktrace: ktrace.1

Log Message:
ktrace(1): tweak -c wording for clarity


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 src/usr.bin/ktrace/ktrace.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/ktrace

2022-09-01 Thread David H. Gutteridge
Module Name:src
Committed By:   gutteridge
Date:   Fri Sep  2 03:43:53 UTC 2022

Modified Files:
src/usr.bin/ktrace: ktrace.1

Log Message:
ktrace.1: correct historical reference and minor grammar tweak


To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 src/usr.bin/ktrace/ktrace.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/ktrace/ktrace.1
diff -u src/usr.bin/ktrace/ktrace.1:1.46 src/usr.bin/ktrace/ktrace.1:1.47
--- src/usr.bin/ktrace/ktrace.1:1.46	Wed Nov 18 20:00:15 2020
+++ src/usr.bin/ktrace/ktrace.1	Fri Sep  2 03:43:53 2022
@@ -1,4 +1,4 @@
-.\"	$NetBSD: ktrace.1,v 1.46 2020/11/18 20:00:15 wiz Exp $
+.\"	$NetBSD: ktrace.1,v 1.47 2022/09/02 03:43:53 gutteridge Exp $
 .\"
 .\" Copyright (c) 1990, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -75,7 +75,7 @@ translations, signal processing, and
 .Pp
 Once tracing is enabled on a process, trace data will be logged until
 either the process exits or the trace point is cleared.
-A traced process can generate enormous amounts of log data quickly;
+A traced process can generate enormous amounts of log data quickly.
 It is strongly suggested that users memorize how to disable tracing before
 attempting to trace a process.
 The following command is sufficient to disable tracing on all user owned
@@ -280,6 +280,6 @@ The
 command appeared in
 .Bx 4.4 .
 The
-.Nm ktrace
+.Nm ktruss
 command appeared in
 .Nx 1.5 .



CVS commit: src/usr.bin/ktrace

2022-09-01 Thread David H. Gutteridge
Module Name:src
Committed By:   gutteridge
Date:   Fri Sep  2 03:43:53 UTC 2022

Modified Files:
src/usr.bin/ktrace: ktrace.1

Log Message:
ktrace.1: correct historical reference and minor grammar tweak


To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 src/usr.bin/ktrace/ktrace.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/ktrace

2020-11-18 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Wed Nov 18 20:00:15 UTC 2020

Modified Files:
src/usr.bin/ktrace: ktrace.1

Log Message:
Sort options.

Prompted by pgoyette.


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/usr.bin/ktrace/ktrace.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/ktrace

2020-11-18 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Wed Nov 18 20:00:15 UTC 2020

Modified Files:
src/usr.bin/ktrace: ktrace.1

Log Message:
Sort options.

Prompted by pgoyette.


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/usr.bin/ktrace/ktrace.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/ktrace/ktrace.1
diff -u src/usr.bin/ktrace/ktrace.1:1.45 src/usr.bin/ktrace/ktrace.1:1.46
--- src/usr.bin/ktrace/ktrace.1:1.45	Sun Mar 29 17:50:23 2020
+++ src/usr.bin/ktrace/ktrace.1	Wed Nov 18 20:00:15 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: ktrace.1,v 1.45 2020/03/29 17:50:23 sevan Exp $
+.\"	$NetBSD: ktrace.1,v 1.46 2020/11/18 20:00:15 wiz Exp $
 .\"
 .\" Copyright (c) 1990, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -110,6 +110,10 @@ Clear the trace points associated with t
 .It Fl d
 Descendants; perform the operation for all current children of the
 designated processes.
+.It Fl e Ar emulation
+If an emulation of a process is unknown,
+interpret system call maps assuming the named emulation instead of
+default "netbsd".
 .It Fl f Ar trfile
 Log trace records to
 .Ar trfile
@@ -160,10 +164,10 @@ readable format to standard out.
 Enable (disable) tracing on the indicated process id (only one
 .Fl p
 flag is permitted).
-.It Fl s
-Write to the trace file with synchronized I/O.
 .It Fl R
 Display relative time stamps to output.
+.It Fl s
+Write to the trace file with synchronized I/O.
 .It Fl T
 Same as the
 .Fl R
@@ -205,14 +209,6 @@ trace the default set of trace points (c
 .It Cm -
 do not trace following trace points
 .El
-.It Fl e Ar emulation
-If an emulation of a process is unknown,
-interpret system call maps assuming the named emulation instead of
-default "netbsd".
-.It Ar command
-Execute
-.Ar command
-with the specified trace flags.
 .It Fl v Ar version
 Determines the
 .Ar version
@@ -220,6 +216,10 @@ of the file generated.
 Version 0 is the compatible ktrace format, and
 version 1 is the new format with lwp IDs and nanosecond (instead of
 microsecond) timestamps.
+.It Ar command
+Execute
+.Ar command
+with the specified trace flags.
 .El
 .Pp
 The



CVS commit: src/usr.bin/ktrace

2020-03-29 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Sun Mar 29 17:50:23 UTC 2020

Modified Files:
src/usr.bin/ktrace: ktrace.1

Log Message:
tense


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/usr.bin/ktrace/ktrace.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/ktrace/ktrace.1
diff -u src/usr.bin/ktrace/ktrace.1:1.44 src/usr.bin/ktrace/ktrace.1:1.45
--- src/usr.bin/ktrace/ktrace.1:1.44	Sun Mar 29 17:48:18 2020
+++ src/usr.bin/ktrace/ktrace.1	Sun Mar 29 17:50:23 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: ktrace.1,v 1.44 2020/03/29 17:48:18 sevan Exp $
+.\"	$NetBSD: ktrace.1,v 1.45 2020/03/29 17:50:23 sevan Exp $
 .\"
 .\" Copyright (c) 1990, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -277,7 +277,7 @@ on process 67
 .Sh HISTORY
 The
 .Nm
-command appears in
+command appeared in
 .Bx 4.4 .
 The
 .Nm ktrace



CVS commit: src/usr.bin/ktrace

2020-03-29 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Sun Mar 29 17:50:23 UTC 2020

Modified Files:
src/usr.bin/ktrace: ktrace.1

Log Message:
tense


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/usr.bin/ktrace/ktrace.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/ktrace

2020-03-29 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Sun Mar 29 17:48:18 UTC 2020

Modified Files:
src/usr.bin/ktrace: ktrace.1

Log Message:
Document ktrace history


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/usr.bin/ktrace/ktrace.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/ktrace/ktrace.1
diff -u src/usr.bin/ktrace/ktrace.1:1.43 src/usr.bin/ktrace/ktrace.1:1.44
--- src/usr.bin/ktrace/ktrace.1:1.43	Thu Jan  8 22:03:42 2015
+++ src/usr.bin/ktrace/ktrace.1	Sun Mar 29 17:48:18 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: ktrace.1,v 1.43 2015/01/08 22:03:42 riastradh Exp $
+.\"	$NetBSD: ktrace.1,v 1.44 2020/03/29 17:48:18 sevan Exp $
 .\"
 .\" Copyright (c) 1990, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"	@(#)ktrace.1	8.1 (Berkeley) 6/6/93
 .\"
-.Dd January 8, 2015
+.Dd March 29, 2020
 .Dt KTRACE 1
 .Os
 .Sh NAME
@@ -279,3 +279,7 @@ The
 .Nm
 command appears in
 .Bx 4.4 .
+The
+.Nm ktrace
+command appeared in
+.Nx 1.5 .



CVS commit: src/usr.bin/ktrace

2020-03-29 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Sun Mar 29 17:48:18 UTC 2020

Modified Files:
src/usr.bin/ktrace: ktrace.1

Log Message:
Document ktrace history


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/usr.bin/ktrace/ktrace.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/ktrace

2015-01-08 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Thu Jan  8 22:03:42 UTC 2015

Modified Files:
src/usr.bin/ktrace: ktrace.1

Log Message:
Omit no longer existing l, m from default trace points.


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/usr.bin/ktrace/ktrace.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/ktrace

2015-01-08 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Thu Jan  8 22:03:42 UTC 2015

Modified Files:
src/usr.bin/ktrace: ktrace.1

Log Message:
Omit no longer existing l, m from default trace points.


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/usr.bin/ktrace/ktrace.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/ktrace/ktrace.1
diff -u src/usr.bin/ktrace/ktrace.1:1.42 src/usr.bin/ktrace/ktrace.1:1.43
--- src/usr.bin/ktrace/ktrace.1:1.42	Wed Jun  1 22:17:43 2011
+++ src/usr.bin/ktrace/ktrace.1	Thu Jan  8 22:03:42 2015
@@ -1,4 +1,4 @@
-.\	$NetBSD: ktrace.1,v 1.42 2011/06/01 22:17:43 wiz Exp $
+.\	$NetBSD: ktrace.1,v 1.43 2015/01/08 22:03:42 riastradh Exp $
 .\
 .\ Copyright (c) 1990, 1993
 .\	The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\
 .\	@(#)ktrace.1	8.1 (Berkeley) 6/6/93
 .\
-.Dd June 1, 2011
+.Dd January 8, 2015
 .Dt KTRACE 1
 .Os
 .Sh NAME
@@ -201,7 +201,7 @@ trace exec environment
 .It Cm w
 trace context switches
 .It Cm +
-trace the default set of trace points (c, e, i, l, m, n, s, u)
+trace the default set of trace points (c, e, i, n, s, u)
 .It Cm -
 do not trace following trace points
 .El



CVS commit: src/usr.bin/ktrace

2013-01-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jan 24 17:47:59 UTC 2013

Modified Files:
src/usr.bin/ktrace: ktrace.c

Log Message:
use O_CLOEXEC.


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/usr.bin/ktrace/ktrace.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/ktrace/ktrace.c
diff -u src/usr.bin/ktrace/ktrace.c:1.45 src/usr.bin/ktrace/ktrace.c:1.46
--- src/usr.bin/ktrace/ktrace.c:1.45	Fri Sep 16 11:39:26 2011
+++ src/usr.bin/ktrace/ktrace.c	Thu Jan 24 12:47:58 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: ktrace.c,v 1.45 2011/09/16 15:39:26 joerg Exp $	*/
+/*	$NetBSD: ktrace.c,v 1.46 2013/01/24 17:47:58 christos Exp $	*/
 
 /*-
  * Copyright (c) 1988, 1993
@@ -39,7 +39,7 @@ __COPYRIGHT(@(#) Copyright (c) 1988, 19
 #if 0
 static char sccsid[] = @(#)ktrace.c	8.2 (Berkeley) 4/28/95;
 #else
-__RCSID($NetBSD: ktrace.c,v 1.45 2011/09/16 15:39:26 joerg Exp $);
+__RCSID($NetBSD: ktrace.c,v 1.46 2013/01/24 17:47:58 christos Exp $);
 #endif
 #endif /* not lint */
 
@@ -70,7 +70,6 @@ static int rpid(char *);
 __dead static void usage(void);
 static int do_ktrace(const char *, int, int, int, int, int);
 __dead static void no_ktrace(int);
-static void fset(int fd, int flag);
 static void fclear(int fd, int flag);
 
 #ifdef KTRUSS
@@ -270,17 +269,6 @@ rpid(char *p)
 }
 
 static void
-fset(int fd, int flag)
-{
-	int oflag = fcntl(fd, F_GETFL, 0);
-
-	if (oflag == -1)
-		err(EXIT_FAILURE, Cannot get file flags);
-	if (fcntl(fd, F_SETFL, oflag | flag) == -1)
-		err(EXIT_FAILURE, Cannot set file flags);
-}
-
-static void
 fclear(int fd, int flag)
 {
 	int oflag = fcntl(fd, F_GETFL, 0);
@@ -340,11 +328,9 @@ do_ktrace(const char *tracefile, int ver
 	(!tracefile || strcmp(tracefile, -) == 0)) {
 		int pi[2], dofork;
 
-		if (pipe(pi)  0)
+		if (pipe2(pi, O_CLOEXEC) == -1)
 			err(EXIT_FAILURE, pipe(2));
 
-		fset(pi[0], FD_CLOEXEC);
-		fset(pi[1], FD_CLOEXEC);
 		dofork = (pid == getpid());
 
 		if (dofork) {



CVS commit: src/usr.bin/ktrace

2013-01-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jan 24 17:47:59 UTC 2013

Modified Files:
src/usr.bin/ktrace: ktrace.c

Log Message:
use O_CLOEXEC.


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/usr.bin/ktrace/ktrace.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/ktrace

2011-06-01 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Wed Jun  1 22:17:43 UTC 2011

Modified Files:
src/usr.bin/ktrace: ktrace.1

Log Message:
Bump date for previous.


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/usr.bin/ktrace/ktrace.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/ktrace/ktrace.1
diff -u src/usr.bin/ktrace/ktrace.1:1.41 src/usr.bin/ktrace/ktrace.1:1.42
--- src/usr.bin/ktrace/ktrace.1:1.41	Wed Jun  1 21:28:33 2011
+++ src/usr.bin/ktrace/ktrace.1	Wed Jun  1 22:17:43 2011
@@ -1,4 +1,4 @@
-.\	$NetBSD: ktrace.1,v 1.41 2011/06/01 21:28:33 alnsn Exp $
+.\	$NetBSD: ktrace.1,v 1.42 2011/06/01 22:17:43 wiz Exp $
 .\
 .\ Copyright (c) 1990, 1993
 .\	The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\
 .\	@(#)ktrace.1	8.1 (Berkeley) 6/6/93
 .\
-.Dd April 27, 2011
+.Dd June 1, 2011
 .Dt KTRACE 1
 .Os
 .Sh NAME



CVS commit: src/usr.bin/ktrace

2011-06-01 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Wed Jun  1 22:17:43 UTC 2011

Modified Files:
src/usr.bin/ktrace: ktrace.1

Log Message:
Bump date for previous.


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/usr.bin/ktrace/ktrace.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/ktrace

2011-02-05 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Sat Feb  5 15:22:17 UTC 2011

Modified Files:
src/usr.bin/ktrace: ktrace.c

Log Message:
update usage


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/usr.bin/ktrace/ktrace.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/ktrace/ktrace.c
diff -u src/usr.bin/ktrace/ktrace.c:1.43 src/usr.bin/ktrace/ktrace.c:1.44
--- src/usr.bin/ktrace/ktrace.c:1.43	Sun Jan 11 03:05:23 2009
+++ src/usr.bin/ktrace/ktrace.c	Sat Feb  5 15:22:17 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: ktrace.c,v 1.43 2009/01/11 03:05:23 christos Exp $	*/
+/*	$NetBSD: ktrace.c,v 1.44 2011/02/05 15:22:17 yamt Exp $	*/
 
 /*-
  * Copyright (c) 1988, 1993
@@ -39,7 +39,7 @@
 #if 0
 static char sccsid[] = @(#)ktrace.c	8.2 (Berkeley) 4/28/95;
 #else
-__RCSID($NetBSD: ktrace.c,v 1.43 2009/01/11 03:05:23 christos Exp $);
+__RCSID($NetBSD: ktrace.c,v 1.44 2011/02/05 15:22:17 yamt Exp $);
 #endif
 #endif /* not lint */
 
@@ -296,7 +296,7 @@
 usage(void)
 {
 
-#define	TRPOINTS [AaceilmnsUuvw+-]
+#define	TRPOINTS [AaceilmnSsuvw+-]
 #ifdef KTRUSS
 	(void)fprintf(stderr, usage:\t%s 
 	[-aCcdilnRT] [-e emulation] [-f infile] [-g pgrp] 



CVS commit: src/usr.bin/ktrace

2011-02-05 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Sat Feb  5 15:22:17 UTC 2011

Modified Files:
src/usr.bin/ktrace: ktrace.c

Log Message:
update usage


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/usr.bin/ktrace/ktrace.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.