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