]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/sys/sdt_impl.h
xnu-7195.101.1.tar.gz
[apple/xnu.git] / bsd / sys / sdt_impl.h
index f0d840c3876186372f2403900a189d831a99c8e9..73c18a172ab93b6f6af86b2ae8909b4daf8766a1 100644 (file)
 #ifndef _SDT_IMPL_H
 #define _SDT_IMPL_H
 
-/*
- * This file has been created by splitting up the original DTrace sdt.h
- * header. Keep the pragma notice here to allow version tracking.
- */
-
-/* #pragma ident       "@(#)sdt.h      1.7     05/06/08 SMI" */
-
 #ifdef  __cplusplus
 extern "C" {
 #endif
@@ -42,7 +35,9 @@ extern const char *sdt_prefix;
 
 typedef struct sdt_probedesc {
        char                    *sdpd_name;     /* name of this probe */
+       int                     sdpd_namelen;
        char                    *sdpd_func;     /* APPLE NOTE: function name */
+       const char              *sdpd_prov;     /* APPLE NOTE: provider name */
        unsigned long           sdpd_offset;    /* offset of call in text */
        struct sdt_probedesc    *sdpd_next;     /* next static probe */
 } sdt_probedesc_t;
@@ -51,8 +46,6 @@ typedef struct sdt_probedesc {
 }
 #endif
 
-/* #pragma ident       "@(#)sdt_impl.h 1.3     05/06/08 SMI" */
-
 #ifdef  __cplusplus
 extern "C" {
 #endif