diff --git a/configure b/configure index 8a5b00c1f..807d4ab46 100755 --- a/configure +++ b/configure @@ -413,6 +413,18 @@ int main(void) return 0; } /*END*/ +var=HAVE_USDT +desc=User Statically-Defined Tracing (USDT) +style=DEFINES_EVERYTHING|EXECUTE|MAY_NOT_COMPILE +code= +#include + +int main(void) +{ + DTRACE_PROBE(lightningd, test_sdt); + return 0; +} +/*END*/ var=HAVE_GCC desc=compiler is GCC style=OUTSIDE_MAIN