bpo-38960: DTrace build fix for FreeBSD. (GH-17451)
DTrace build fix for FreeBSD.
- allowing passing an extra flag as it need to define the arch size.
- casting some probe's arguments.
diff --git a/Python/sysmodule.c b/Python/sysmodule.c
index 9f866a2..17e7960 100644
--- a/Python/sysmodule.c
+++ b/Python/sysmodule.c
@@ -204,7 +204,7 @@
/* Dtrace USDT point */
if (dtrace) {
- PyDTrace_AUDIT(event, (void *)eventArgs);
+ PyDTrace_AUDIT((char *)event, (void *)eventArgs);
}
/* Call interpreter hooks */