From: Serhei Makarov Date: Wed, 17 Jun 2020 14:21:10 +0000 (-0400) Subject: bpf.exp: tentative fix for bigmap1.stp hang on RHEL8 X-Git-Tag: release-4.4~127 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=db91f0291440c89f4301ff9973e53f310ab04b0c;p=systemtap.git bpf.exp: tentative fix for bigmap1.stp hang on RHEL8 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. --- diff --git a/testsuite/systemtap.bpf/bpf.exp b/testsuite/systemtap.bpf/bpf.exp index 2bec181c7..c43c83054 100644 --- a/testsuite/systemtap.bpf/bpf.exp +++ b/testsuite/systemtap.bpf/bpf.exp @@ -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