]> sourceware.org Git - systemtap.git/commitdiff
testsuite pr14536.stp: toughen
authorFrank Ch. Eigler <fche@redhat.com>
Sat, 5 Dec 2020 00:33:22 +0000 (19:33 -0500)
committerFrank Ch. Eigler <fche@redhat.com>
Sat, 5 Dec 2020 00:33:22 +0000 (19:33 -0500)
This test case stresses nesting of heavy duty processing (backtrace
printing) within kernel interrupt processing paths.  It seems to
sometimes trigger problems - so let's make the test harder to make
latent problems show up more likely.  Instead of quitting after the
first irq_* function hit, stick around for 10 seconds.

testsuite/systemtap.base/pr14546.stp

index 3e59a6f3a2f3ca4d30f38931121927230d721ec4..e4c205a8f1e79fe44b5f1c5b713dc5b29d93bcac 100644 (file)
@@ -2,5 +2,6 @@ probe kernel.function("irq_*").call {
       x = 10; y = 10; z = 10; w = 10
       $1
       assert(!(x != 10 || y != 10 || z != 10 || w != 10), "memory got corrupted by " . @1)
-      exit()
 }
+
+probe timer.s(10) { exit () }
This page took 0.029017 seconds and 5 git commands to generate.