diff --git a/cmake/optional.cmake b/cmake/optional.cmake index dc02a6f2f5e26..e018a47f73725 100644 --- a/cmake/optional.cmake +++ b/cmake/optional.cmake @@ -93,7 +93,9 @@ if(WITH_USDT) int main() { - 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); } " HAVE_USDT_H )