aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2014-08-25 23:41:47 -0400
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2014-09-07 19:24:48 -0400
commitb76592412a320dd58572fa3517c39adb2fdbd7ed (patch)
treed48f7af9a8d7589a78210160b67b5eaf9f29b6d7 /tools
parent38706bc5a29a73645e512c06ffb759fb56259d83 (diff)
torture: Print PID in hung-kernel diagnostic message
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Reviewed-by: Pranith Kumar <bobby.prani@gmail.com>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/testing/selftests/rcutorture/bin/kvm-test-1-run.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/rcutorture/bin/kvm-test-1-run.sh b/tools/testing/selftests/rcutorture/bin/kvm-test-1-run.sh
index 487308fabf76..f6b2b4771b78 100755
--- a/tools/testing/selftests/rcutorture/bin/kvm-test-1-run.sh
+++ b/tools/testing/selftests/rcutorture/bin/kvm-test-1-run.sh
@@ -215,7 +215,7 @@ then
215 fi 215 fi
216 if test $kruntime -ge $((seconds + grace)) 216 if test $kruntime -ge $((seconds + grace))
217 then 217 then
218 echo "!!! Hang at $kruntime vs. $seconds seconds" >> $resdir/Warnings 2>&1 218 echo "!!! PID $qemu_pid hung at $kruntime vs. $seconds seconds" >> $resdir/Warnings 2>&1
219 kill -KILL $qemu_pid 219 kill -KILL $qemu_pid
220 break 220 break
221 fi 221 fi