]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/mach/i386/sdt_isa.h
xnu-2422.1.72.tar.gz
[apple/xnu.git] / osfmk / mach / i386 / sdt_isa.h
index c32239162f8e0429bfbd1e837a7bb33a96cb030f..14549e8101778f77b53df590ebf0511cee37d585 100644 (file)
@@ -41,7 +41,7 @@
  */
 #ifdef __x86_64__
 #define DTRACE_LAB(p, n)               \
-   "__dtrace_probeDOLLAR" DTRACE_TOSTRING(__LINE__) DTRACE_STRINGIFY(_##p##___##n)
+   "__dtrace_probe$" DTRACE_TOSTRING(%=__LINE__) DTRACE_STRINGIFY(_##p##___##n)
 
 #define DTRACE_LABEL(p, n)             \
       ".section __DATA, __data\n\t"    \
@@ -51,7 +51,7 @@
        "1:"
 #else
 #define DTRACE_LAB(p, n)               \
-   "__dtrace_probe$" DTRACE_TOSTRING(__LINE__) DTRACE_STRINGIFY(_##p##___##n)
+   "__dtrace_probe$" DTRACE_TOSTRING(%=__LINE__) DTRACE_STRINGIFY(_##p##___##n)
 
 #define DTRACE_LABEL(p, n)             \
       ".section __DATA, __data\n\t"    \
@@ -62,7 +62,7 @@
 #endif
 #else  /* !KERNEL */
 #define DTRACE_LABEL(p, n)                                                                     \
-       "__dtrace_probe$" DTRACE_TOSTRING(__LINE__) DTRACE_STRINGIFY(_##p##___##n) ":"  "\n\t"
+       "__dtrace_probe$" DTRACE_TOSTRING(%=__LINE__) DTRACE_STRINGIFY(_##p##___##n) ":"        "\n\t"
 #endif /* !KERNEL */
 
 #ifdef DTRACE_CALL_TEST
 #define DTRACE_CALL0ARGS(provider, name)                                                       \
        asm volatile (                                                                          \
                      DTRACE_CALL(provider, name)                                               \
+                     :                                                                         \
+                     :                                                                         \
        );
 
 #define DTRACE_CALL1ARG(provider, name)                                                                \