summaryrefslogtreecommitdiffstats
path: root/includes/sys/sdt.h
diff options
context:
space:
mode:
Diffstat (limited to 'includes/sys/sdt.h')
-rw-r--r--includes/sys/sdt.h314
1 files changed, 191 insertions, 123 deletions
diff --git a/includes/sys/sdt.h b/includes/sys/sdt.h
index d68fed6c..d6c90192 100644
--- a/includes/sys/sdt.h
+++ b/includes/sys/sdt.h
@@ -1,22 +1,24 @@
-// Copyright (C) 2005-2009 Red Hat Inc.
-// Copyright (C) 2006 Intel Corporation.
-//
-// This file is part of systemtap, and is free software. You can
-// redistribute it and/or modify it under the terms of the GNU General
-// Public License (GPL); either version 2, or (at your option) any
-// later version.
+/* Copyright (C) 2005-2009 Red Hat Inc.
+ Copyright (C) 2006 Intel Corporation.
+
+ This file is part of systemtap, and is free software. You can
+ redistribute it and/or modify it under the terms of the GNU General
+ Public License (GPL); either version 2, or (at your option) any
+ later version.
+*/
#ifndef _SYS_SDT_H
#define _SYS_SDT_H 1
#include <string.h>
+#include <sys/types.h>
#if _LP64
#define STAP_PROBE_STRUCT_ARG(arg) \
- __uint64_t arg;
+ __uint64_t arg
#else
#define STAP_PROBE_STRUCT_ARG(arg) \
- long arg __attribute__ ((aligned(8)));
+ long arg __attribute__ ((aligned(8)))
#endif
#define STAP_SENTINEL 0x31425250
@@ -28,126 +30,192 @@ struct _probe_ ## probe \
STAP_PROBE_STRUCT_ARG (probe_name); \
STAP_PROBE_STRUCT_ARG (probe_arg); \
}; \
-static char probe ## _ ## probe_name [strlen(#probe)+1] \
+static char probe ## _ ## probe_name [] \
__attribute__ ((section (".probes"))) \
= #probe; \
-static volatile struct _probe_ ## probe _probe_ ## probe __attribute__ ((section (".probes"))) = {STAP_SENTINEL,(size_t)& probe ## _ ## probe_name[0],argc};
+__extension__ static volatile struct _probe_ ## probe _probe_ ## probe __attribute__ ((section (".probes"))) = {STAP_SENTINEL,(size_t)& probe ## _ ## probe_name[0],argc};
-#define STAP_LABEL_REF(probe) \
+/* The goto _probe_ prevents the label from "drifting" */
+#define STAP_LABEL_REF(probe, label) \
if (__builtin_expect(_probe_ ## probe.probe_type < 0, 0)) \
- goto STAP_LABEL(probe,__LINE__);
+ goto label;
+/* These baroque macros are used to create a unique label */
#define STAP_CONCAT(a,b) a ## b
-#define STAP_LABEL(p,n) \
- STAP_CONCAT(_stapprobe1_ ## p ## _, n)
-
-// The goto _probe_ prevents the label from "drifting"
-#define STAP_PROBE(provider,probe) \
- { \
-STAP_LABEL(probe,__LINE__): \
- asm volatile ("nop"); \
- STAP_PROBE_STRUCT(probe,(size_t)&& STAP_LABEL(probe,__LINE__)) \
- STAP_LABEL_REF(probe) \
-}
-
+#define STAP_LABEL_PREFIX(p) _stapprobe1_ ## p
+/* __COUNTER__ is not present in gcc 4.1 */
+#if __GNUC__ == 4 && __GNUC_MINOR__ >= 3
+#define STAP_COUNTER STAP_CONCAT(__,COUNTER__)
+#else
+#define STAP_COUNTER STAP_CONCAT(__,LINE__)
+#endif
+#define STAP_LABEL(a,b) STAP_CONCAT(a,b)
+
+#define STAP_PROBE_(probe,label) \
+do { \
+ STAP_PROBE_STRUCT(probe,(size_t)&& label) \
+ STAP_LABEL_REF(probe,label); \
+label: \
+ __asm__ volatile ("nop"); \
+ } while (0)
+
+#define STAP_PROBE1_(probe,label,parm1) \
+do { \
+ STAP_PROBE_STRUCT(probe,(size_t)&& label) \
+ volatile __typeof__((parm1)) arg1 __attribute__ ((unused)) = parm1; \
+label: \
+ __asm__ volatile ("nop /* %0 */" :: "X"( arg1)); \
+ STAP_LABEL_REF(probe,label); \
+ } while (0)
+
+#define STAP_PROBE2_(probe,label,parm1,parm2) \
+do { \
+ STAP_PROBE_STRUCT(probe,(size_t)&& label) \
+ volatile __typeof__((parm1)) arg1 __attribute__ ((unused)) = parm1; \
+ volatile __typeof__((parm2)) arg2 __attribute__ ((unused)) = parm2; \
+label: \
+ __asm__ volatile ("nop /* %0 %1 */" :: "X"(arg1), "X"(arg2)); \
+ STAP_LABEL_REF(probe,label); \
+} while (0)
+
+#define STAP_PROBE3_(probe,label,parm1,parm2,parm3) \
+do { \
+ STAP_PROBE_STRUCT(probe,(size_t)&& label) \
+ volatile __typeof__((parm1)) arg1 __attribute__ ((unused)) = parm1; \
+ volatile __typeof__((parm2)) arg2 __attribute__ ((unused)) = parm2; \
+ volatile __typeof__((parm3)) arg3 __attribute__ ((unused)) = parm3; \
+label: \
+ __asm__ volatile ("nop /* %0 %1 %2 */" :: "X"(arg1), "X"(arg2), "X"(arg3)); \
+ STAP_LABEL_REF(probe,label); \
+} while (0)
+
+#define STAP_PROBE4_(probe,label,parm1,parm2,parm3,parm4) \
+do { \
+ STAP_PROBE_STRUCT(probe,(size_t)&& label) \
+ volatile __typeof__((parm1)) arg1 __attribute__ ((unused)) = parm1; \
+ volatile __typeof__((parm2)) arg2 __attribute__ ((unused)) = parm2; \
+ volatile __typeof__((parm3)) arg3 __attribute__ ((unused)) = parm3; \
+ volatile __typeof__((parm4)) arg4 __attribute__ ((unused)) = parm4; \
+label: \
+ __asm__ volatile ("nop /* %0 %1 %2 %3 */" :: "X"(arg1), "X"(arg2), "X"(arg3), "X"(arg4)); \
+ STAP_LABEL_REF(probe,label); \
+} while (0)
+
+#define STAP_PROBE5_(probe,label,parm1,parm2,parm3,parm4,parm5) \
+do { \
+ STAP_PROBE_STRUCT(probe,(size_t)&& label) \
+ volatile __typeof__((parm1)) arg1 __attribute__ ((unused)) = parm1; \
+ volatile __typeof__((parm2)) arg2 __attribute__ ((unused)) = parm2; \
+ volatile __typeof__((parm3)) arg3 __attribute__ ((unused)) = parm3; \
+ volatile __typeof__((parm4)) arg4 __attribute__ ((unused)) = parm4; \
+ volatile __typeof__((parm5)) arg5 __attribute__ ((unused)) = parm5; \
+label: \
+ __asm__ volatile ("nop /* %0 %1 %2 %3 %4 */" :: "X"(arg1), "X"(arg2), "X"(arg3), "X"(arg4), "X"(arg5)); \
+ STAP_LABEL_REF(probe,label); \
+} while (0)
+
+#define STAP_PROBE6_(probe,label,parm1,parm2,parm3,parm4,parm5,parm6) \
+do { \
+ STAP_PROBE_STRUCT(probe,(size_t)&& label) \
+ volatile __typeof__((parm1)) arg1 __attribute__ ((unused)) = parm1; \
+ volatile __typeof__((parm2)) arg2 __attribute__ ((unused)) = parm2; \
+ volatile __typeof__((parm3)) arg3 __attribute__ ((unused)) = parm3; \
+ volatile __typeof__((parm4)) arg4 __attribute__ ((unused)) = parm4; \
+ volatile __typeof__((parm5)) arg5 __attribute__ ((unused)) = parm5; \
+ volatile __typeof__((parm6)) arg6 __attribute__ ((unused)) = parm6; \
+label: \
+ __asm__ volatile ("nop" :: "X"(arg1), "X"(arg2), "X"(arg3), "X"(arg4), "X"(arg5), "X"(arg6)); \
+ STAP_LABEL_REF(probe,label); \
+} while (0)
+
+#define STAP_PROBE7_(probe,label,parm1,parm2,parm3,parm4,parm5,parm6,parm7) \
+do { \
+ STAP_PROBE_STRUCT(probe,(size_t)&& label) \
+ volatile __typeof__((parm1)) arg1 __attribute__ ((unused)) = parm1; \
+ volatile __typeof__((parm2)) arg2 __attribute__ ((unused)) = parm2; \
+ volatile __typeof__((parm3)) arg3 __attribute__ ((unused)) = parm3; \
+ volatile __typeof__((parm4)) arg4 __attribute__ ((unused)) = parm4; \
+ volatile __typeof__((parm5)) arg5 __attribute__ ((unused)) = parm5; \
+ volatile __typeof__((parm6)) arg6 __attribute__ ((unused)) = parm6; \
+ volatile __typeof__((parm7)) arg7 __attribute__ ((unused)) = parm7; \
+label: \
+ __asm__ volatile ("nop" :: "X"(arg1), "X"(arg2), "X"(arg3), "X"(arg4), "X"(arg5), "X"(arg6), "X"(arg7)); \
+ STAP_LABEL_REF(probe,label); \
+} while (0)
+
+#define STAP_PROBE8_(probe,label,parm1,parm2,parm3,parm4,parm5,parm6,parm7,parm8) \
+do { \
+ STAP_PROBE_STRUCT(probe,(size_t)&& label) \
+ volatile __typeof__((parm1)) arg1 __attribute__ ((unused)) = parm1; \
+ volatile __typeof__((parm2)) arg2 __attribute__ ((unused)) = parm2; \
+ volatile __typeof__((parm3)) arg3 __attribute__ ((unused)) = parm3; \
+ volatile __typeof__((parm4)) arg4 __attribute__ ((unused)) = parm4; \
+ volatile __typeof__((parm5)) arg5 __attribute__ ((unused)) = parm5; \
+ volatile __typeof__((parm6)) arg6 __attribute__ ((unused)) = parm6; \
+ volatile __typeof__((parm7)) arg7 __attribute__ ((unused)) = parm7; \
+ volatile __typeof__((parm8)) arg8 __attribute__ ((unused)) = parm8; \
+label: \
+ __asm__ volatile ("nop" :: "X"(arg1), "X"(arg2), "X"(arg3), "X"(arg4), "X"(arg5), "X"(arg6), "X"(arg7), "X"(arg8)); \
+ STAP_LABEL_REF(probe,label); \
+} while (0)
+
+#define STAP_PROBE9_(probe,label,parm1,parm2,parm3,parm4,parm5,parm6,parm7,parm8,parm9) \
+do { \
+ STAP_PROBE_STRUCT(probe,(size_t)&& label) \
+ volatile __typeof__((parm1)) arg1 __attribute__ ((unused)) = parm1; \
+ volatile __typeof__((parm2)) arg2 __attribute__ ((unused)) = parm2; \
+ volatile __typeof__((parm3)) arg3 __attribute__ ((unused)) = parm3; \
+ volatile __typeof__((parm4)) arg4 __attribute__ ((unused)) = parm4; \
+ volatile __typeof__((parm5)) arg5 __attribute__ ((unused)) = parm5; \
+ volatile __typeof__((parm6)) arg6 __attribute__ ((unused)) = parm6; \
+ volatile __typeof__((parm7)) arg7 __attribute__ ((unused)) = parm7; \
+ volatile __typeof__((parm8)) arg8 __attribute__ ((unused)) = parm8; \
+ volatile __typeof__((parm9)) arg9 __attribute__ ((unused)) = parm9; \
+label: \
+ __asm__ volatile ("nop" :: "X"(arg1), "X"(arg2), "X"(arg3), "X"(arg4), "X"(arg5), "X"(arg6), "X"(arg7), "X"(arg8), "X"(arg9)); \
+ STAP_LABEL_REF(probe,label); \
+} while (0)
+
+#define STAP_PROBE10_(probe,label,parm1,parm2,parm3,parm4,parm5,parm6,parm7,parm8,parm9,parm10) \
+do { \
+ STAP_PROBE_STRUCT(probe,(size_t)&& label) \
+ volatile __typeof__((parm1)) arg1 __attribute__ ((unused)) = parm1; \
+ volatile __typeof__((parm2)) arg2 __attribute__ ((unused)) = parm2; \
+ volatile __typeof__((parm3)) arg3 __attribute__ ((unused)) = parm3; \
+ volatile __typeof__((parm4)) arg4 __attribute__ ((unused)) = parm4; \
+ volatile __typeof__((parm5)) arg5 __attribute__ ((unused)) = parm5; \
+ volatile __typeof__((parm6)) arg6 __attribute__ ((unused)) = parm6; \
+ volatile __typeof__((parm7)) arg7 __attribute__ ((unused)) = parm7; \
+ volatile __typeof__((parm8)) arg8 __attribute__ ((unused)) = parm8; \
+ volatile __typeof__((parm9)) arg9 __attribute__ ((unused)) = parm9; \
+ volatile __typeof__((parm10)) arg10 __attribute__ ((unused)) = parm10; \
+label: \
+ __asm__ volatile ("nop" :: "X"(arg1), "X"(arg2), "X"(arg3), "X"(arg4), "X"(arg5), "X"(arg6), "X"(arg7), "X"(arg8), "X"(arg9), "X"(arg10)); \
+ STAP_LABEL_REF(probe,label); \
+} while (0)
+
+#define STAP_PROBE(provider,probe) \
+ STAP_PROBE_(probe,STAP_LABEL(STAP_LABEL_PREFIX(probe),STAP_COUNTER))
#define STAP_PROBE1(provider,probe,parm1) \
- {volatile typeof((parm1)) arg1 __attribute__ ((unused)) = parm1; \
-STAP_LABEL(probe,__LINE__): \
- asm volatile ("nop /* %0 */" :: "g"( arg1)); \
- STAP_PROBE_STRUCT(probe,(size_t)&& STAP_LABEL(probe,__LINE__)) \
- STAP_LABEL_REF(probe);}
-
-#define STAP_PROBE2(provider,probe,parm1,parm2) \
- {volatile typeof((parm1)) arg1 __attribute__ ((unused)) = parm1; \
- volatile typeof((parm2)) arg2 __attribute__ ((unused)) = parm2; \
-STAP_LABEL(probe,__LINE__): \
- asm volatile ("nop /* %0 %1 */" :: "g"(arg1), "g"(arg2)); \
- STAP_PROBE_STRUCT(probe,(size_t)&& STAP_LABEL(probe,__LINE__)) \
- STAP_LABEL_REF(probe);}
-
-#define STAP_PROBE3(provider,probe,parm1,parm2,parm3) \
- {volatile typeof((parm1)) arg1 __attribute__ ((unused)) = parm1; \
- volatile typeof((parm2)) arg2 __attribute__ ((unused)) = parm2; \
- volatile typeof((parm3)) arg3 __attribute__ ((unused)) = parm3; \
-STAP_LABEL(probe,__LINE__): \
- asm volatile ("nop /* %0 %1 %2 */" :: "g"(arg1), "g"(arg2), "g"(arg3)); \
- STAP_PROBE_STRUCT(probe,(size_t)&& STAP_LABEL(probe,__LINE__)) \
- STAP_LABEL_REF(probe);}
-
-#define STAP_PROBE4(provider,probe,parm1,parm2,parm3,parm4) \
- {volatile typeof((parm1)) arg1 __attribute__ ((unused)) = parm1; \
- volatile typeof((parm2)) arg2 __attribute__ ((unused)) = parm2; \
- volatile typeof((parm3)) arg3 __attribute__ ((unused)) = parm3; \
- volatile typeof((parm4)) arg4 __attribute__ ((unused)) = parm4; \
-STAP_LABEL(probe,__LINE__): \
- asm volatile ("nop /* %0 %1 %2 %3 */" :: "g"(arg1), "g"(arg2), "g"(arg3), "g"(arg4)); \
- STAP_PROBE_STRUCT(probe,(size_t)&& STAP_LABEL(probe,__LINE__)) \
- STAP_LABEL_REF(probe);}
-
-#define STAP_PROBE5(provider,probe,parm1,parm2,parm3,parm4,parm5) \
- {volatile typeof((parm1)) arg1 __attribute__ ((unused)) = parm1; \
- volatile typeof((parm2)) arg2 __attribute__ ((unused)) = parm2; \
- volatile typeof((parm3)) arg3 __attribute__ ((unused)) = parm3; \
- volatile typeof((parm4)) arg4 __attribute__ ((unused)) = parm4; \
- volatile typeof((parm5)) arg5 __attribute__ ((unused)) = parm5; \
-STAP_LABEL(probe,__LINE__): \
- asm volatile ("nop /* %0 %1 %2 %3 %4 */" :: "X"(arg1), "X"(arg2), "X"(arg3), "X"(arg4), "X"(arg5)); \
- STAP_PROBE_STRUCT(probe,(size_t)&& STAP_LABEL(probe,__LINE__)) \
- STAP_LABEL_REF(probe);}
-
-#define STAP_PROBE6(provider,probe,parm1,parm2,parm3,parm4,parm5,parm6) \
- {volatile typeof((parm1)) arg1 __attribute__ ((unused)) = parm1; \
- volatile typeof((parm2)) arg2 __attribute__ ((unused)) = parm2; \
- volatile typeof((parm3)) arg3 __attribute__ ((unused)) = parm3; \
- volatile typeof((parm4)) arg4 __attribute__ ((unused)) = parm4; \
- volatile typeof((parm5)) arg5 __attribute__ ((unused)) = parm5; \
- volatile typeof((parm6)) arg6 __attribute__ ((unused)) = parm6; \
-STAP_LABEL(probe,__LINE__): \
- asm volatile ("nop" :: "X"(arg1), "X"(arg2), "X"(arg3), "X"(arg4), "X"(arg5), "X"(arg6)); \
- STAP_PROBE_STRUCT(probe,(size_t)&& STAP_LABEL(probe,__LINE__)) \
- STAP_LABEL_REF(probe);}
-
-#define STAP_PROBE7(provider,probe,parm1,parm2,parm3,parm4,parm5,parm6,parm7) \
- {volatile typeof((parm1)) arg1 __attribute__ ((unused)) = parm1; \
- volatile typeof((parm2)) arg2 __attribute__ ((unused)) = parm2; \
- volatile typeof((parm3)) arg3 __attribute__ ((unused)) = parm3; \
- volatile typeof((parm4)) arg4 __attribute__ ((unused)) = parm4; \
- volatile typeof((parm5)) arg5 __attribute__ ((unused)) = parm5; \
- volatile typeof((parm6)) arg6 __attribute__ ((unused)) = parm6; \
- volatile typeof((parm7)) arg7 __attribute__ ((unused)) = parm7; \
-STAP_LABEL(probe,__LINE__): \
- asm volatile ("nop" :: "X"(arg1), "X"(arg2), "X"(arg3), "X"(arg4), "X"(arg5), "X"(arg6), "X"(arg7)); \
- STAP_PROBE_STRUCT(probe,(size_t)&& STAP_LABEL(probe,__LINE__)) \
- STAP_LABEL_REF(probe);}
-
-#define STAP_PROBE8(provider,probe,parm1,parm2,parm3,parm4,parm5,parm6,parm7,parm8) \
- {volatile typeof((parm1)) arg1 __attribute__ ((unused)) = parm1; \
- volatile typeof((parm2)) arg2 __attribute__ ((unused)) = parm2; \
- volatile typeof((parm3)) arg3 __attribute__ ((unused)) = parm3; \
- volatile typeof((parm4)) arg4 __attribute__ ((unused)) = parm4; \
- volatile typeof((parm5)) arg5 __attribute__ ((unused)) = parm5; \
- volatile typeof((parm6)) arg6 __attribute__ ((unused)) = parm6; \
- volatile typeof((parm7)) arg7 __attribute__ ((unused)) = parm7; \
- volatile typeof((parm8)) arg8 __attribute__ ((unused)) = parm8; \
-STAP_LABEL(probe,__LINE__): \
- asm volatile ("nop" :: "X"(arg1), "X"(arg2), "X"(arg3), "X"(arg4), "X"(arg5), "X"(arg6), "X"(arg7), "X"(arg8)); \
- STAP_PROBE_STRUCT(probe,(size_t)&& STAP_LABEL(probe,__LINE__)) \
- STAP_LABEL_REF(probe);}
-
-#define STAP_PROBE9(provider,probe,parm1,parm2,parm3,parm4,parm5,parm6,parm7,parm8,parm9) \
- {volatile typeof((parm1)) arg1 __attribute__ ((unused)) = parm1; \
- volatile typeof((parm2)) arg2 __attribute__ ((unused)) = parm2; \
- volatile typeof((parm3)) arg3 __attribute__ ((unused)) = parm3; \
- volatile typeof((parm4)) arg4 __attribute__ ((unused)) = parm4; \
- volatile typeof((parm5)) arg5 __attribute__ ((unused)) = parm5; \
- volatile typeof((parm6)) arg6 __attribute__ ((unused)) = parm6; \
- volatile typeof((parm7)) arg7 __attribute__ ((unused)) = parm7; \
- volatile typeof((parm8)) arg8 __attribute__ ((unused)) = parm8; \
- volatile typeof((parm9)) arg9 __attribute__ ((unused)) = parm9; \
-STAP_LABEL(probe,__LINE__): \
- asm volatile ("nop" :: "X"(arg1), "X"(arg2), "X"(arg3), "X"(arg4), "X"(arg5), "X"(arg6), "X"(arg7), "X"(arg8), "X"(arg9)); \
- STAP_PROBE_STRUCT(probe,(size_t)&& STAP_LABEL(probe,__LINE__)) \
- STAP_LABEL_REF(probe);}
+ STAP_PROBE1_(probe,STAP_LABEL(STAP_LABEL_PREFIX(probe),STAP_COUNTER),(parm1))
+#define STAP_PROBE2(provider,probe,parm1,parm2) \
+ STAP_PROBE2_(probe,STAP_LABEL(STAP_LABEL_PREFIX(probe),STAP_COUNTER),(parm1),(parm2))
+#define STAP_PROBE3(provider,probe,parm1,parm2,parm3) \
+ STAP_PROBE3_(probe,STAP_LABEL(STAP_LABEL_PREFIX(probe),STAP_COUNTER),(parm1),(parm2),(parm3))
+#define STAP_PROBE4(provider,probe,parm1,parm2,parm3,parm4) \
+ STAP_PROBE4_(probe,STAP_LABEL(STAP_LABEL_PREFIX(probe),STAP_COUNTER),(parm1),(parm2),(parm3),(parm4))
+#define STAP_PROBE5(provider,probe,parm1,parm2,parm3,parm4,parm5) \
+ STAP_PROBE5_(probe,STAP_LABEL(STAP_LABEL_PREFIX(probe),STAP_COUNTER),(parm1),(parm2),(parm3),(parm4),(parm5))
+#define STAP_PROBE6(provider,probe,parm1,parm2,parm3,parm4,parm5,parm6) \
+ STAP_PROBE6_(probe,STAP_LABEL(STAP_LABEL_PREFIX(probe),STAP_COUNTER),(parm1),(parm2),(parm3),(parm4),(parm5),(parm6))
+#define STAP_PROBE7(provider,probe,parm1,parm2,parm3,parm4,parm5,parm6,parm7) \
+ STAP_PROBE7_(probe,STAP_LABEL(STAP_LABEL_PREFIX(probe),STAP_COUNTER),(parm1),(parm2),(parm3),(parm4),(parm5),(parm6),(parm7))
+#define STAP_PROBE8(provider,probe,parm1,parm2,parm3,parm4,parm5,parm6,parm7,parm8) \
+ STAP_PROBE8_(probe,STAP_LABEL(STAP_LABEL_PREFIX(probe),STAP_COUNTER),(parm1),(parm2),(parm3),(parm4),(parm5),(parm6),(parm7),(parm8))
+#define STAP_PROBE9(provider,probe,parm1,parm2,parm3,parm4,parm5,parm6,parm7,parm8,parm9) \
+ STAP_PROBE9_(probe,STAP_LABEL(STAP_LABEL_PREFIX(probe),STAP_COUNTER),(parm1),(parm2),(parm3),(parm4),(parm5),(parm6),(parm7),(parm8),(parm9))
+#define STAP_PROBE10(provider,probe,parm1,parm2,parm3,parm4,parm5,parm6,parm7,parm8,parm9,parm10) \
+ STAP_PROBE10_(probe,STAP_LABEL(STAP_LABEL_PREFIX(probe),STAP_COUNTER),(parm1),(parm2),(parm3),(parm4),(parm5),(parm6),(parm7),(parm8),(parm9),(parm10))
#define DTRACE_PROBE(provider,probe) \
STAP_PROBE(provider,probe)
@@ -169,5 +237,5 @@ STAP_PROBE7(provider,probe,parm1,parm2,parm3,parm4,parm5,parm6,parm7)
STAP_PROBE8(provider,probe,parm1,parm2,parm3,parm4,parm5,parm6,parm7,parm8)
#define DTRACE_PROBE9(provider,probe,parm1,parm2,parm3,parm4,parm5,parm6,parm7,parm8,parm9) \
STAP_PROBE9(provider,probe,parm1,parm2,parm3,parm4,parm5,parm6,parm7,parm8,parm9)
-
#endif /* sys/sdt.h */
+