From 684191b2483134dec5d4b5cc1bc7f4f947b88822 Mon Sep 17 00:00:00 2001 From: mpi Date: Mon, 5 Feb 2024 15:34:11 +0000 Subject: [PATCH] Increase interval's rate to speed up tests. --- regress/usr.sbin/btrace/filters.bt | 2 +- regress/usr.sbin/btrace/mapoverwrite.bt | 2 +- regress/usr.sbin/btrace/multiprobe.bt | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/regress/usr.sbin/btrace/filters.bt b/regress/usr.sbin/btrace/filters.bt index 4ea6ebd4e4b..4c624cf5acb 100644 --- a/regress/usr.sbin/btrace/filters.bt +++ b/regress/usr.sbin/btrace/filters.bt @@ -16,7 +16,7 @@ syscall:open:return exit(); } -interval:hz:1 +interval:hz:100 { exit(); } diff --git a/regress/usr.sbin/btrace/mapoverwrite.bt b/regress/usr.sbin/btrace/mapoverwrite.bt index 43fffc97cf5..da984b0917e 100644 --- a/regress/usr.sbin/btrace/mapoverwrite.bt +++ b/regress/usr.sbin/btrace/mapoverwrite.bt @@ -10,7 +10,7 @@ BEGIN /* * Overwrite map periodically to ensure there's no double-free. */ -interval:hz:1 +interval:hz:100 { if (@counter >= 10) exit(); diff --git a/regress/usr.sbin/btrace/multiprobe.bt b/regress/usr.sbin/btrace/multiprobe.bt index e1ef3e8b197..fbee65916c1 100644 --- a/regress/usr.sbin/btrace/multiprobe.bt +++ b/regress/usr.sbin/btrace/multiprobe.bt @@ -1,10 +1,10 @@ BEGIN, -interval:hz:2 +interval:hz:50 { printf("multi\n"); } -interval:hz:1 +interval:hz:100 { exit(); } -- 2.20.1