torture: Grace periods do not piggyback off of themselves
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 31 Jan 2018 07:12:27 +0000 (23:12 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 21 Feb 2018 00:22:01 +0000 (16:22 -0800)
commit0da8c08d71133ba0dd9f5b24ae0b6519e00275d6
tree6e7d8332f9b7ed892a6f8a23cea81752654a03d8
parentcc839ce55d5c2d08bf25f9ddec6d9ee8854b87f4
torture: Grace periods do not piggyback off of themselves

The rcuperf trace-event processing counted every "done" trace event
as a piggyback, which is incorrect because the task that started the
grace period didn't piggyback at all.  This commit fixes this problem
by recording the task that started a given grace period and ignoring
that task's "done" record for that grace period.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
tools/testing/selftests/rcutorture/bin/kvm-recheck-rcuperf-ftrace.sh