ktrace.1 (0275f9dbf73b01e9478dc7d6ab5fab4f8e077448) | ktrace.1 (90a7bed40111e0c451c45d3961caaab9353ca84b) |
---|---|
1.\" Copyright (c) 1990, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 14 unchanged lines hidden (view full) --- 23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26.\" SUCH DAMAGE. 27.\" 28.\" @(#)ktrace.1 8.1 (Berkeley) 6/6/93 29.\" $FreeBSD$ 30.\" | 1.\" Copyright (c) 1990, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 14 unchanged lines hidden (view full) --- 23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26.\" SUCH DAMAGE. 27.\" 28.\" @(#)ktrace.1 8.1 (Berkeley) 6/6/93 29.\" $FreeBSD$ 30.\" |
31.Dd July 24, 2017 | 31.Dd August 26, 2019 |
32.Dt KTRACE 1 33.Os 34.Sh NAME 35.Nm ktrace 36.Nd enable kernel process tracing 37.Sh SYNOPSIS 38.Nm 39.Op Fl aCcdi --- 85 unchanged lines hidden (view full) --- 125trace namei translations 126.It Cm p 127trace capability check failures 128.It Cm s 129trace signal processing 130.It Cm t 131trace various structures 132.It Cm u | 32.Dt KTRACE 1 33.Os 34.Sh NAME 35.Nm ktrace 36.Nd enable kernel process tracing 37.Sh SYNOPSIS 38.Nm 39.Op Fl aCcdi --- 85 unchanged lines hidden (view full) --- 125trace namei translations 126.It Cm p 127trace capability check failures 128.It Cm s 129trace signal processing 130.It Cm t 131trace various structures 132.It Cm u |
133userland traces | 133userland traces generated by 134.Xr utrace 2 |
134.It Cm w 135context switches 136.It Cm y 137trace 138.Xr sysctl 3 139requests 140.It Cm + 141trace the default set of trace points - --- 37 unchanged lines hidden (view full) --- 179.Dl $ ktrace -c -f tracedata 180.Pp 181Disable tracing of all user-owned processes: 182.Dl $ ktrace -C 183.Sh SEE ALSO 184.Xr dtrace 1 , 185.Xr kdump 1 , 186.Xr truss 1 , | 135.It Cm w 136context switches 137.It Cm y 138trace 139.Xr sysctl 3 140requests 141.It Cm + 142trace the default set of trace points - --- 37 unchanged lines hidden (view full) --- 180.Dl $ ktrace -c -f tracedata 181.Pp 182Disable tracing of all user-owned processes: 183.Dl $ ktrace -C 184.Sh SEE ALSO 185.Xr dtrace 1 , 186.Xr kdump 1 , 187.Xr truss 1 , |
187.Xr ktrace 2 | 188.Xr ktrace 2 , 189.Xr utrace 2 |
188.Sh HISTORY 189The 190.Nm 191command appeared in 192.Bx 4.4 . 193.Sh BUGS 194Only works if 195.Ar trfile 196is a regular file. | 190.Sh HISTORY 191The 192.Nm 193command appeared in 194.Bx 4.4 . 195.Sh BUGS 196Only works if 197.Ar trfile 198is a regular file. |