summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.maps
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/systemtap.maps')
-rwxr-xr-xtestsuite/systemtap.maps/ix_clear.stp7
-rwxr-xr-xtestsuite/systemtap.maps/ix_clear2.stp6
2 files changed, 10 insertions, 3 deletions
diff --git a/testsuite/systemtap.maps/ix_clear.stp b/testsuite/systemtap.maps/ix_clear.stp
index a36e5400..dd8c63a0 100755
--- a/testsuite/systemtap.maps/ix_clear.stp
+++ b/testsuite/systemtap.maps/ix_clear.stp
@@ -6,7 +6,10 @@ probe begin {
foo[1] <<< 1
printf("foo[1] = %d %d\n", @count(foo[1]), @sum(foo[1]))
delete foo[1]
- printf("foo[1] = %d %d\n", @count(foo[1]), @sum(foo[1]))
- exit()
}
+probe timer.ms(1000) { exit() }
+
+probe end {
+ printf("foo[1] = %d %d\n", @count(foo[1]), @sum(foo[1]))
+}
diff --git a/testsuite/systemtap.maps/ix_clear2.stp b/testsuite/systemtap.maps/ix_clear2.stp
index cedec482..cc2bb9ee 100755
--- a/testsuite/systemtap.maps/ix_clear2.stp
+++ b/testsuite/systemtap.maps/ix_clear2.stp
@@ -6,7 +6,11 @@ probe begin {
foo[1] <<< 1
printf("foo[1] = %d %d\n", @count(foo[1]), @sum(foo[1]))
delete foo
+}
+
+probe timer.ms(1000) { exit() }
+
+probe end {
printf("foo[1] = %d %d\n", @count(foo[1]), @sum(foo[1]))
- exit()
}