aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2016-03-28 14:44:42 -0700
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2016-03-31 13:39:53 -0700
commitfb2c66af10f92bc83659c4d8a32e02287f0e5dda (patch)
tree2243adf34ac6948db82f587bd6320713a6ae6461 /scripts/gdb/linux/lists.py
parent9eb5188a0704bd21eb7e4aef83b904fad43d3ec8 (diff)
torture: Kill qemu, not parent process
The current hang-check machinery in the rcutorture scripts uses "$!" of a parenthesized bash statement to capture the pid. Unfortunately, this captures not qemu's pid, but rather that of its parent that implements the parenthesized statement. This commit therefore adjusts things so as to capture qemu's actual pid, which then allows the script to actually kill qemu in event of a kernel hang. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions