This relies on the 'interval' provider which should always be present.
-# $OpenBSD: Makefile,v 1.17 2021/09/09 09:38:38 mpi Exp $
+# $OpenBSD: Makefile,v 1.18 2021/09/09 09:56:32 mpi Exp $
BTRACE?= /usr/sbin/btrace
ALLOWDT!= sysctl -n kern.allowdt
precedence print read-map-after-clear syntaxerror
# scripts that use kernel probes
-BT_KERN_SCRIPTS=
+BT_KERN_SCRIPTS= multiprobe
REGRESS_EXPECTED_FAILURES= run-maxoperand
--- /dev/null
+BEGIN,
+interval:hz:2
+{
+ printf("multi\n");
+}
+
+interval:hz:1
+{
+ exit();
+}
--- /dev/null
+multi
+multi