Linux v5.10 saw the rename of "rcuperf" to "rcuscale". "rcuscale" related code should be accounted as test code. Also update the output format to be compatible as gnuplot input. Signed-off-by: Akira Yokosawa <akiyks@xxxxxxxxx> --- CodeSamples/formal/rcutorture.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CodeSamples/formal/rcutorture.sh b/CodeSamples/formal/rcutorture.sh index 296a804b..0782b390 100644 --- a/CodeSamples/formal/rcutorture.sh +++ b/CodeSamples/formal/rcutorture.sh @@ -25,9 +25,9 @@ tags="`git tag -l | grep '^v' | grep -v -e - | grep -v '\..*\..*\.' | grep -v '2 for t in $tags do git reset --hard $t > /dev/null 2>&1 - nontorture="`ls kernel/*rcu*.* kernel/rcu/* include/linux/*rcu* 2> /dev/null | grep -v torture | grep -v rcuperf | grep -v refperf`" + nontorture="`ls kernel/*rcu*.* kernel/rcu/* include/linux/*rcu* 2> /dev/null | grep -v torture | grep -v rcuperf | grep -v refperf | grep -v rcuscale`" ntn="`wc -l $nontorture 2> /dev/null | tail -1 | awk '{ print $1 }'`" - tn="`wc -l tools/testing/selftests/rcutorture/configs/*/*.sh kernel/rcutorture.c kernel/rcu/torture.c kernel/rcu/rcutorture.c kernel/rcu/rcuperf.c kernel/rcu/refperf.c kernel/torture.c tools/testing/selftests/rcutorture/bin/* 2> /dev/null | tail -1 | awk '{ print $1 }'`" + tn="`wc -l tools/testing/selftests/rcutorture/configs/*/*.sh kernel/rcutorture.c kernel/rcu/torture.c kernel/rcu/rcutorture.c kernel/rcu/rcuperf.c kernel/rcu/refperf.c kernel/rcu/rcuscale.c kernel/torture.c tools/testing/selftests/rcutorture/bin/* 2> /dev/null | tail -1 | awk '{ print $1 }'`" frac="`awk -v ntn=$ntn -v tn=$tn 'END { printf "%.1f", 100 * tn / (tn + ntn) "%"; }' < /dev/null`" - echo $t '&' $ntn '&' $tn '&' $((ntn + tn)) '&' $frac '\\\\' + echo $t $ntn $tn $((ntn + tn)) $frac done -- 2.17.1