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