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)
commitb40a17e848e395bdda2037d55ab5e14fcd3abd34
treeeac39007b980164a6252e759f866cdbc6969f408
parentaf18dbdc538d68661a2dc170065e02fb49a2ec53
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