mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-06 02:50:43 +00:00
rcutorture: Add checks for rcutorture writer starvation
This commit adds checks for rcutorture writer starvation, so that instances will be added to the test summary. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
This commit is contained in:
parent
92e963f50f
commit
f5a5386bca
1 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@ if grep -Pq '\x00' < $file
|
||||||
then
|
then
|
||||||
print_warning Console output contains nul bytes, old qemu still running?
|
print_warning Console output contains nul bytes, old qemu still running?
|
||||||
fi
|
fi
|
||||||
egrep 'Badness|WARNING:|Warn|BUG|===========|Call Trace:|Oops:|detected stalls on CPUs/tasks:|Stall ended before state dump start' < $file | grep -v 'ODEBUG: ' | grep -v 'Warning: unable to open an initial console' > $1.diags
|
egrep 'Badness|WARNING:|Warn|BUG|===========|Call Trace:|Oops:|detected stalls on CPUs/tasks:|Stall ended before state dump start|\?\?\? Writer stall state' < $file | grep -v 'ODEBUG: ' | grep -v 'Warning: unable to open an initial console' > $1.diags
|
||||||
if test -s $1.diags
|
if test -s $1.diags
|
||||||
then
|
then
|
||||||
print_warning Assertion failure in $file $title
|
print_warning Assertion failure in $file $title
|
||||||
|
@ -64,7 +64,7 @@ then
|
||||||
then
|
then
|
||||||
summary="$summary lockdep: $n_badness"
|
summary="$summary lockdep: $n_badness"
|
||||||
fi
|
fi
|
||||||
n_stalls=`egrep -c 'detected stalls on CPUs/tasks:|Stall ended before state dump start' $1`
|
n_stalls=`egrep -c 'detected stalls on CPUs/tasks:|Stall ended before state dump start|\?\?\? Writer stall state' $1`
|
||||||
if test "$n_stalls" -ne 0
|
if test "$n_stalls" -ne 0
|
||||||
then
|
then
|
||||||
summary="$summary Stalls: $n_stalls"
|
summary="$summary Stalls: $n_stalls"
|
||||||
|
|
Loading…
Reference in a new issue