From: Paul E. McKenney Date: Tue, 26 Aug 2014 03:41:47 +0000 (-0700) Subject: torture: Print PID in hung-kernel diagnostic message X-Git-Tag: firefly_0821_release~176^2~3065^2~1^2~16^4~1 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b76592412a320dd58572fa3517c39adb2fdbd7ed;p=firefly-linux-kernel-4.4.55.git torture: Print PID in hung-kernel diagnostic message Signed-off-by: Paul E. McKenney Reviewed-by: Pranith Kumar --- 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 fi if test $kruntime -ge $((seconds + grace)) then - echo "!!! Hang at $kruntime vs. $seconds seconds" >> $resdir/Warnings 2>&1 + echo "!!! PID $qemu_pid hung at $kruntime vs. $seconds seconds" >> $resdir/Warnings 2>&1 kill -KILL $qemu_pid break fi