summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.maps/ix_clear2.stp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/systemtap.maps/ix_clear2.stp')
-rwxr-xr-xtestsuite/systemtap.maps/ix_clear2.stp6
1 files changed, 5 insertions, 1 deletions
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()
}