From: Akira Yokosawa <akiyks@gmail.com>
To: "Paul E. McKenney" <paulmck@kernel.org>
Cc: perfbook@vger.kernel.org, Akira Yokosawa <akiyks@gmail.com>
Subject: [PATCH 2/3] rcutorture.sh: Add "rcuscale" to test code
Date: Mon, 18 Jan 2021 00:06:37 +0900 [thread overview]
Message-ID: <e8f6ba01-9a4a-98ee-817f-69a43d06edcb@gmail.com> (raw)
In-Reply-To: <25e9a0f4-8903-1523-9d04-ce34d7d97db6@gmail.com>
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@gmail.com>
---
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
next prev parent reply other threads:[~2021-01-17 15:06 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-17 15:02 [PATCH 0/3 -perfbook] Makefile fix and RCU test bar chart update Akira Yokosawa
2021-01-17 15:04 ` [PATCH 1/3] Makefile: Fix timing of autodate.tex generation Akira Yokosawa
2021-01-20 23:42 ` Paul E. McKenney
2021-01-17 15:06 ` Akira Yokosawa [this message]
2021-01-17 15:08 ` [PATCH 3/3] formal: Extend bar chart in Figure 12.4 up to Linux v5.10 Akira Yokosawa
2021-01-19 18:22 ` [PATCH 0/3 -perfbook] Makefile fix and RCU test bar chart update Paul E. McKenney
2021-01-19 22:41 ` Akira Yokosawa
2021-01-19 22:49 ` [PATCH RESEND 1/3] Makefile: Fix timing of autodate.tex generation Akira Yokosawa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e8f6ba01-9a4a-98ee-817f-69a43d06edcb@gmail.com \
--to=akiyks@gmail.com \
--cc=paulmck@kernel.org \
--cc=perfbook@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.