rcutorture: Print grace-period performance statistics
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 19 Dec 2013 00:56:22 +0000 (16:56 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 18 Feb 2014 20:24:22 +0000 (12:24 -0800)
commitc7e8240db112a128ca09cfc9ee0db1bafd7229ec
treeeac39007b980164a6252e759f866cdbc6969f408
parent6d0abeca3242a88cab8232e4acd7e2bf088f3bc2
rcutorture: Print grace-period performance statistics

Sometime problems can manifest themselves as unusually slow grace periods.
This commit therefore prints the number of rcutorture updates during the
test and the number per second.  These statistics are harvested from the
config.out and qemu-cmd files, and are silently omitted if these files
are not available, as would be the case if there was a build failure or
a boot-time hang.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
tools/testing/selftests/rcutorture/bin/kvm-recheck.sh