ktrace.1 (60e15db9920e1f90f14d143a96f1b230f1d0da59) | ktrace.1 (da647ae946a00482f69900a49b0f1c4d5912abf2) |
---|---|
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. --- 29 unchanged lines hidden (view full) --- 38.Sh NAME 39.Nm ktrace 40.Nd enable kernel process tracing 41.Sh SYNOPSIS 42.Nm 43.Op Fl aCcdi 44.Op Fl f Ar trfile 45.Op Fl g Ar pgrp | Fl p Ar pid | 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. --- 29 unchanged lines hidden (view full) --- 38.Sh NAME 39.Nm ktrace 40.Nd enable kernel process tracing 41.Sh SYNOPSIS 42.Nm 43.Op Fl aCcdi 44.Op Fl f Ar trfile 45.Op Fl g Ar pgrp | Fl p Ar pid |
46.Op Fl t Ar cnistuw | 46.Op Fl t Ar trstr |
47.Nm 48.Op Fl adi 49.Op Fl f Ar trfile | 47.Nm 48.Op Fl adi 49.Op Fl f Ar trfile |
50.Op Fl t Ar cnistuw | 50.Op Fl t Ar trstr |
51.Ar command 52.Sh DESCRIPTION 53The 54.Nm 55utility enables kernel trace logging for the specified processes. 56Kernel trace data is logged to the file 57.Pa ktrace.out . 58The kernel operations that are traced include system calls, namei --- 41 unchanged lines hidden (view full) --- 100flag is permitted). 101.It Fl i 102Inherit; pass the trace flags to all future children of the designated 103processes. 104.It Fl p Ar pid 105Enable (disable) tracing on the indicated process id (only one 106.Fl p 107flag is permitted). | 51.Ar command 52.Sh DESCRIPTION 53The 54.Nm 55utility enables kernel trace logging for the specified processes. 56Kernel trace data is logged to the file 57.Pa ktrace.out . 58The kernel operations that are traced include system calls, namei --- 41 unchanged lines hidden (view full) --- 100flag is permitted). 101.It Fl i 102Inherit; pass the trace flags to all future children of the designated 103processes. 104.It Fl p Ar pid 105Enable (disable) tracing on the indicated process id (only one 106.Fl p 107flag is permitted). |
108.It Fl t Ar cnistuw | 108.It Fl t Ar trstr |
109The string argument represents the kernel trace points, one per letter. 110The following table equates the letters with the tracepoints: 111.Pp 112.Bl -tag -width flag -compact 113.It Cm c 114trace system calls 115.It Cm n 116trace namei translations --- 65 unchanged lines hidden --- | 109The string argument represents the kernel trace points, one per letter. 110The following table equates the letters with the tracepoints: 111.Pp 112.Bl -tag -width flag -compact 113.It Cm c 114trace system calls 115.It Cm n 116trace namei translations --- 65 unchanged lines hidden --- |