]> sourceware.org Git - systemtap.git/commitdiff
bpf.exp: tentative fix for bigmap1.stp hang on RHEL8
authorSerhei Makarov <smakarov@redhat.com>
Wed, 17 Jun 2020 14:21:10 +0000 (10:21 -0400)
committerSerhei Makarov <smakarov@redhat.com>
Wed, 17 Jun 2020 14:21:15 +0000 (10:21 -0400)
Experimentation with the prior bigmap1.stp patch
shows that bpf.exp may need a stronger kill -KILL to
avoid waiting for a stuck process.

Not sure why this wasn't done in the first place,
the comment suggests kill -KILL but the code does kill -INT.

testsuite/systemtap.bpf/bpf.exp

index 2bec181c750f18b72ff23e138a653a339b4f9fdf..c43c830545c77b956d3e599698a211bb627e3513 100644 (file)
@@ -110,7 +110,7 @@ proc stapbpf_run { TEST_NAME OUTPUT_STR options args } {
         eof { set rc $eof_start  }
     }
   # again for good measure with KILL after 3s
-  kill -INT -$mypid 3
+  kill -KILL -$mypid 3
   catch close
   wait
   return $rc
This page took 0.027333 seconds and 5 git commands to generate.