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