| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | .\" $NetBSD: ktrace.1,v 1.42 2011/06/01 22:17:43 wiz Exp $ | | 1 | .\" $NetBSD: ktrace.1,v 1.42.4.1 2015/04/14 13:36:26 msaitoh Exp $ |
2 | .\" | | 2 | .\" |
3 | .\" Copyright (c) 1990, 1993 | | 3 | .\" Copyright (c) 1990, 1993 |
4 | .\" The Regents of the University of California. All rights reserved. | | 4 | .\" The Regents of the University of California. All rights reserved. |
5 | .\" | | 5 | .\" |
6 | .\" Redistribution and use in source and binary forms, with or without | | 6 | .\" Redistribution and use in source and binary forms, with or without |
7 | .\" modification, are permitted provided that the following conditions | | 7 | .\" modification, are permitted provided that the following conditions |
8 | .\" are met: | | 8 | .\" are met: |
9 | .\" 1. Redistributions of source code must retain the above copyright | | 9 | .\" 1. Redistributions of source code must retain the above copyright |
10 | .\" notice, this list of conditions and the following disclaimer. | | 10 | .\" notice, this list of conditions and the following disclaimer. |
11 | .\" 2. Redistributions in binary form must reproduce the above copyright | | 11 | .\" 2. Redistributions in binary form must reproduce the above copyright |
12 | .\" notice, this list of conditions and the following disclaimer in the | | 12 | .\" notice, this list of conditions and the following disclaimer in the |
13 | .\" documentation and/or other materials provided with the distribution. | | 13 | .\" documentation and/or other materials provided with the distribution. |
14 | .\" 3. Neither the name of the University nor the names of its contributors | | 14 | .\" 3. Neither the name of the University nor the names of its contributors |
| @@ -19,27 +19,27 @@ | | | @@ -19,27 +19,27 @@ |
19 | .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | | 19 | .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
20 | .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | | 20 | .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
21 | .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | | 21 | .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE |
22 | .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | | 22 | .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
23 | .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | | 23 | .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS |
24 | .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | | 24 | .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
25 | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | | 25 | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
26 | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | | 26 | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY |
27 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | | 27 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
28 | .\" SUCH DAMAGE. | | 28 | .\" SUCH DAMAGE. |
29 | .\" | | 29 | .\" |
30 | .\" @(#)ktrace.1 8.1 (Berkeley) 6/6/93 | | 30 | .\" @(#)ktrace.1 8.1 (Berkeley) 6/6/93 |
31 | .\" | | 31 | .\" |
32 | .Dd June 1, 2011 | | 32 | .Dd January 8, 2015 |
33 | .Dt KTRACE 1 | | 33 | .Dt KTRACE 1 |
34 | .Os | | 34 | .Os |
35 | .Sh NAME | | 35 | .Sh NAME |
36 | .Nm ktrace , ktruss | | 36 | .Nm ktrace , ktruss |
37 | .Nd enable kernel process tracing | | 37 | .Nd enable kernel process tracing |
38 | .Sh SYNOPSIS | | 38 | .Sh SYNOPSIS |
39 | .Nm | | 39 | .Nm |
40 | .Op Fl aCcdins | | 40 | .Op Fl aCcdins |
41 | .Op Fl f Ar trfile | | 41 | .Op Fl f Ar trfile |
42 | .Op Fl g Ar pgrp | | 42 | .Op Fl g Ar pgrp |
43 | .Op Fl p Ar pid | | 43 | .Op Fl p Ar pid |
44 | .Op Fl t Ar trstr | | 44 | .Op Fl t Ar trstr |
45 | .Nm | | 45 | .Nm |
| @@ -191,27 +191,27 @@ trace namei translations | | | @@ -191,27 +191,27 @@ trace namei translations |
191 | .It Cm S | | 191 | .It Cm S |
192 | trace MIB access (sysctl) | | 192 | trace MIB access (sysctl) |
193 | .It Cm s | | 193 | .It Cm s |
194 | trace signal processing | | 194 | trace signal processing |
195 | .\" .It Cm U | | 195 | .\" .It Cm U |
196 | .\" trace scheduler activations upcall data | | 196 | .\" trace scheduler activations upcall data |
197 | .It Cm u | | 197 | .It Cm u |
198 | trace user data | | 198 | trace user data |
199 | .It Cm v | | 199 | .It Cm v |
200 | trace exec environment | | 200 | trace exec environment |
201 | .It Cm w | | 201 | .It Cm w |
202 | trace context switches | | 202 | trace context switches |
203 | .It Cm + | | 203 | .It Cm + |
204 | trace the default set of trace points (c, e, i, l, m, n, s, u) | | 204 | trace the default set of trace points (c, e, i, n, s, u) |
205 | .It Cm - | | 205 | .It Cm - |
206 | do not trace following trace points | | 206 | do not trace following trace points |
207 | .El | | 207 | .El |
208 | .It Fl e Ar emulation | | 208 | .It Fl e Ar emulation |
209 | If an emulation of a process is unknown, | | 209 | If an emulation of a process is unknown, |
210 | interpret system call maps assuming the named emulation instead of | | 210 | interpret system call maps assuming the named emulation instead of |
211 | default "netbsd". | | 211 | default "netbsd". |
212 | .It Ar command | | 212 | .It Ar command |
213 | Execute | | 213 | Execute |
214 | .Ar command | | 214 | .Ar command |
215 | with the specified trace flags. | | 215 | with the specified trace flags. |
216 | .It Fl v Ar version | | 216 | .It Fl v Ar version |
217 | Determines the | | 217 | Determines the |