ktr.9 (143270) | ktr.9 (147398) |
---|---|
1.\" Copyright (c) 2001 John H. Baldwin <jhb@FreeBSD.org> 2.\" 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. --- 8 unchanged lines hidden (view full) --- 17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23.\" SUCH DAMAGE. 24.\" | 1.\" Copyright (c) 2001 John H. Baldwin <jhb@FreeBSD.org> 2.\" 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. --- 8 unchanged lines hidden (view full) --- 17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23.\" SUCH DAMAGE. 24.\" |
25.\" $FreeBSD: head/share/man/man9/ktr.9 143270 2005-03-08 01:37:36Z hmp $ | 25.\" $FreeBSD: head/share/man/man9/ktr.9 147398 2005-06-15 13:31:23Z ru $ |
26.\" 27.Dd February 15, 2001 28.Dt KTR 9 29.Os 30.Sh NAME 31.Nm CTR0 , CTR1 , CTR2 , CTR3 , CTR4 , CTR5 32.Nd kernel tracing facility 33.Sh SYNOPSIS --- 71 unchanged lines hidden (view full) --- 105The 106.Va ktr_verbose 107variable stores the verbose flag that controls whether events are logged to 108the console in addition to the event buffer. 109.Sh EXAMPLES 110This example demonstrates the use of tracepoints at the 111.Dv KTR_PROC 112logging level. | 26.\" 27.Dd February 15, 2001 28.Dt KTR 9 29.Os 30.Sh NAME 31.Nm CTR0 , CTR1 , CTR2 , CTR3 , CTR4 , CTR5 32.Nd kernel tracing facility 33.Sh SYNOPSIS --- 71 unchanged lines hidden (view full) --- 105The 106.Va ktr_verbose 107variable stores the verbose flag that controls whether events are logged to 108the console in addition to the event buffer. 109.Sh EXAMPLES 110This example demonstrates the use of tracepoints at the 111.Dv KTR_PROC 112logging level. |
113.Bd -literal -compact | 113.Bd -literal |
114void 115mi_switch() 116{ 117 ... 118 /* 119 * Pick a new current process and record its start time. 120 */ 121 ... --- 24 unchanged lines hidden --- | 114void 115mi_switch() 116{ 117 ... 118 /* 119 * Pick a new current process and record its start time. 120 */ 121 ... --- 24 unchanged lines hidden --- |