John Baldwin fcc3d62fa5 Rework the dynamic per-CPU stats code a bit. Always set 'statics->ncpus'
to the maximum number of CPUs to ensure that lcpustates[] array is always
allocated to the maximum size.  Previously, if top was started without
per-CPU stats it would allocate a smaller lcpustates[] array.  When
per-CPU stats were then enabled, it would overflow the array and trash
the cpustates_columns[] array causing the CPU stats to be printed in the
wrong locations.

Approved by:	re (kib)
MFC after:	1 week
2011-07-18 21:15:47 +00:00
..
2010-11-19 10:15:29 +00:00
2010-01-15 16:01:22 +00:00
2011-03-01 11:47:51 +00:00
2010-11-19 10:18:58 +00:00
2011-06-21 20:44:06 +00:00
2011-01-25 22:21:05 +00:00
2010-02-09 10:47:44 +00:00
2010-02-26 09:41:16 +00:00
2010-04-02 11:05:59 +00:00
2011-06-17 06:12:28 +00:00
2009-06-23 23:17:04 +00:00
2011-06-24 07:18:44 +00:00
2011-01-26 06:36:14 +00:00
2011-06-21 20:36:10 +00:00
2011-06-18 13:56:33 +00:00
2011-02-21 09:01:34 +00:00
2011-04-10 10:17:01 +00:00
2010-03-02 16:58:04 +00:00
2010-12-27 15:05:15 +00:00
2011-02-21 09:01:34 +00:00
2011-02-21 09:01:34 +00:00
2010-03-22 21:19:17 +00:00
2011-05-25 14:13:53 +00:00
2011-05-25 14:13:53 +00:00
2011-05-13 09:55:48 +00:00
2010-10-19 00:01:53 +00:00
2011-06-24 07:18:44 +00:00
2010-06-02 10:20:23 +00:00
2010-10-08 12:40:16 +00:00
2010-02-26 13:48:04 +00:00
2011-06-30 09:20:26 +00:00
2011-07-11 05:31:52 +00:00
2011-02-25 19:10:19 +00:00
2010-12-20 08:47:43 +00:00
2010-11-09 10:59:09 +00:00
2011-06-24 07:18:44 +00:00
2011-07-17 21:57:10 +00:00
2011-01-21 18:10:11 +00:00
2010-10-21 20:22:00 +00:00
2010-06-15 04:47:16 +00:00
2011-03-24 13:52:59 +00:00
2011-06-18 13:56:33 +00:00
2010-06-19 16:24:55 +00:00