]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
torture: Print PID in hung-kernel diagnostic message
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 26 Aug 2014 03:41:47 +0000 (20:41 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sun, 7 Sep 2014 23:24:48 +0000 (16:24 -0700)
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Pranith Kumar <bobby.prani@gmail.com>
tools/testing/selftests/rcutorture/bin/kvm-test-1-run.sh

index 487308fabf76993aeab2091a4b3edb04bc8e0850..f6b2b4771b78796e8633f87b054aac64a7ddd424 100755 (executable)
@@ -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