ktr.9 (104957) | ktr.9 (115440) |
---|---|
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 104957 2002-10-12 03:01:11Z jeff $ | 25.\" $FreeBSD: head/share/man/man9/ktr.9 115440 2003-05-31 14:07:25Z hmp $ |
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 --- 23 unchanged lines hidden (view full) --- 57style 58fashion. 59These events can then be dumped either via 60.Xr ddb 4 61or 62.Xr gdb 1 . 63.Pp 64Events are created and logged in the kernel via the | 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 --- 23 unchanged lines hidden (view full) --- 57style 58fashion. 59These events can then be dumped either via 60.Xr ddb 4 61or 62.Xr gdb 1 . 63.Pp 64Events are created and logged in the kernel via the |
65.Dv CTR Ns Ar x | 65.Dv CTR Ns x |
66macros. 67The first parameter is a mask of event types 68.Pq Dv KTR_* 69defined in 70.Aq Pa sys/ktr.h . 71The event will be logged only if any of the event types specified in 72.Fa mask 73are enabled in the global event mask stored in --- 71 unchanged lines hidden --- | 66macros. 67The first parameter is a mask of event types 68.Pq Dv KTR_* 69defined in 70.Aq Pa sys/ktr.h . 71The event will be logged only if any of the event types specified in 72.Fa mask 73are enabled in the global event mask stored in --- 71 unchanged lines hidden --- |