xref: /xnu-12377.1.9/bsd/sys/sdt.h (revision f6217f891ac0bb64f3d375211650a4c1ff8ca1ea)
1*f6217f89SApple OSS Distributions /*
2*f6217f89SApple OSS Distributions  * CDDL HEADER START
3*f6217f89SApple OSS Distributions  *
4*f6217f89SApple OSS Distributions  * The contents of this file are subject to the terms of the
5*f6217f89SApple OSS Distributions  * Common Development and Distribution License, Version 1.0 only
6*f6217f89SApple OSS Distributions  * (the "License").  You may not use this file except in compliance
7*f6217f89SApple OSS Distributions  * with the License.
8*f6217f89SApple OSS Distributions  *
9*f6217f89SApple OSS Distributions  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10*f6217f89SApple OSS Distributions  * or http://www.opensolaris.org/os/licensing.
11*f6217f89SApple OSS Distributions  * See the License for the specific language governing permissions
12*f6217f89SApple OSS Distributions  * and limitations under the License.
13*f6217f89SApple OSS Distributions  *
14*f6217f89SApple OSS Distributions  * When distributing Covered Code, include this CDDL HEADER in each
15*f6217f89SApple OSS Distributions  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16*f6217f89SApple OSS Distributions  * If applicable, add the following below this CDDL HEADER, with the
17*f6217f89SApple OSS Distributions  * fields enclosed by brackets "[]" replaced with your own identifying
18*f6217f89SApple OSS Distributions  * information: Portions Copyright [yyyy] [name of copyright owner]
19*f6217f89SApple OSS Distributions  *
20*f6217f89SApple OSS Distributions  * CDDL HEADER END
21*f6217f89SApple OSS Distributions  */
22*f6217f89SApple OSS Distributions /*
23*f6217f89SApple OSS Distributions  * Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
24*f6217f89SApple OSS Distributions  * Use is subject to license terms.
25*f6217f89SApple OSS Distributions  */
26*f6217f89SApple OSS Distributions 
27*f6217f89SApple OSS Distributions #ifndef _SYS_SDT_H
28*f6217f89SApple OSS Distributions #define _SYS_SDT_H
29*f6217f89SApple OSS Distributions 
30*f6217f89SApple OSS Distributions /*
31*f6217f89SApple OSS Distributions  * This is a wrapper header that wraps the mach visible sdt.h header so that
32*f6217f89SApple OSS Distributions  * the header file ends up visible where software expects it to be.
33*f6217f89SApple OSS Distributions  *
34*f6217f89SApple OSS Distributions  * Note:  The process of adding USDT probes to code is slightly different
35*f6217f89SApple OSS Distributions  * than documented in the "Solaris Dynamic Tracing Guide".
36*f6217f89SApple OSS Distributions  * The DTRACE_PROBE*() macros are not supported on Mac OS X -- instead see
37*f6217f89SApple OSS Distributions  * "BUILDING CODE CONTAINING USDT PROBES" in the dtrace(1) manpage
38*f6217f89SApple OSS Distributions  *
39*f6217f89SApple OSS Distributions  */
40*f6217f89SApple OSS Distributions #include <sys/cdefs.h>
41*f6217f89SApple OSS Distributions #include <mach/sdt.h>
42*f6217f89SApple OSS Distributions 
43*f6217f89SApple OSS Distributions #endif  /* _SYS_SDT_H */
44