mirror of
https://github.com/torvalds/linux.git
synced 2024-11-28 23:21:31 +00:00
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>
This commit is contained in:
parent
38706bc5a2
commit
b76592412a
@ -215,7 +215,7 @@ then
|
|||||||
fi
|
fi
|
||||||
if test $kruntime -ge $((seconds + grace))
|
if test $kruntime -ge $((seconds + grace))
|
||||||
then
|
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
|
kill -KILL $qemu_pid
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user