]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
torture: Fix typo suppressing CPU-hotplug statistics
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 22 Jun 2017 22:38:26 +0000 (15:38 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 25 Jul 2017 20:04:45 +0000 (13:04 -0700)
commita2b2df207acff1e3f965ff2c7c38255b06d583cb
treef34090ad318d6537d7a6339f8c6625e882e9ed6e
parent313517fc44fb2d8403654b2d3e511da7d1c78cd6
torture: Fix typo suppressing CPU-hotplug statistics

The torture status line contains a series of values preceded by "onoff:".
The last value in that line, the one preceding the "HZ=" string, is
always zero.  The reason that it is always zero is that torture_offline()
was incrementing the sum_offl pointer instead of the value that this
pointer referenced.  This commit therefore makes this increment operate
on the statistic rather than the pointer to the statistic.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/torture.c