X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/39236c6e673c41db228275375ab7fdb0f837b292..743345f9a4b36f7e2f9ba37691e70c50baecb56e:/bsd/sys/sdt_impl.h diff --git a/bsd/sys/sdt_impl.h b/bsd/sys/sdt_impl.h index aca7c5a6c..7517dd627 100644 --- a/bsd/sys/sdt_impl.h +++ b/bsd/sys/sdt_impl.h @@ -42,9 +42,7 @@ extern const char *sdt_prefix; typedef struct sdt_probedesc { char *sdpd_name; /* name of this probe */ -#if defined(__APPLE__) - char *sdpd_func; -#endif /* __APPLE__ */ + char *sdpd_func; /* APPLE NOTE: function name */ unsigned long sdpd_offset; /* offset of call in text */ struct sdt_probedesc *sdpd_next; /* next static probe */ } sdt_probedesc_t; @@ -67,9 +65,7 @@ struct module { }; extern int sdt_invop(uintptr_t, uintptr_t *, uintptr_t); -#if defined (__APPLE__) extern uint64_t sdt_getarg(void *, dtrace_id_t, void *, int, int); -#endif /* __APPLE__ */ void sdt_provide_module(void *, struct modctl *); void sdt_init(void);