Skip to content

Commit ebfbaa8

Browse files
committed
rcutorture: Add worst-case call_rcu() forward-progress results
This commit adds the worst-case results from any call_rcu() forward-progress tests to the rcutorture test-summary output. Signed-off-by: Paul E. McKenney <[email protected]>
1 parent b8dfff9 commit ebfbaa8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/testing/selftests/rcutorture/bin/kvm-recheck-rcu.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ stopstate="`grep 'End-test grace-period state: g' $i/console.log 2> /dev/null |
2525
tail -1 | sed -e 's/^\[[ 0-9.]*] //' |
2626
awk '{ print \"[\" $1 \" \" $5 \" \" $6 \" \" $7 \"]\"; }' |
2727
tr -d '\012\015'`"
28+
fwdprog="`grep 'rcu_torture_fwd_prog_cr Duration' $i/console.log 2> /dev/null | sed -e 's/^\[[^]]*] //' | sort -k15nr | head -1 | awk '{ print $14 " " $15 }'`"
2829
if test -z "$ngps"
2930
then
3031
echo "$configfile ------- " $stopstate
@@ -39,7 +40,7 @@ else
3940
BEGIN { print ngps / dur }' < /dev/null`
4041
title="$title ($ngpsps/s)"
4142
fi
42-
echo $title $stopstate
43+
echo $title $stopstate $fwdprog
4344
nclosecalls=`grep --binary-files=text 'torture: Reader Batch' $i/console.log | tail -1 | awk '{for (i=NF-8;i<=NF;i++) sum+=$i; } END {print sum}'`
4445
if test -z "$nclosecalls"
4546
then

0 commit comments

Comments
 (0)