diff options
Diffstat (limited to 'testsuite/systemtap.maps/ix_clear.stp')
-rwxr-xr-x | testsuite/systemtap.maps/ix_clear.stp | 7 |
1 files changed, 5 insertions, 2 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])) +} |