diff --git a/configure.ac b/configure.ac index 2035e0ee53..7d0ebbc5bb 100644 --- a/configure.ac +++ b/configure.ac @@ -1413,7 +1413,9 @@ if test x$use_usdt != xno; then AC_COMPILE_IFELSE([ AC_LANG_PROGRAM( [#include ], - [DTRACE_PROBE("context", "event");] + [DTRACE_PROBE(context, event); + int a, b, c, d, e, f, g; + DTRACE_PROBE7(context, event, a, b, c, d, e, f, g);] )], [AC_MSG_RESULT(yes); AC_DEFINE([ENABLE_TRACING], [1], [Define to 1 to enable tracepoints for Userspace, Statically Defined Tracing])], [AC_MSG_RESULT(no); use_usdt=no;]