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