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 487308f..f6b2b47 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