freebsd-nq/usr.bin/top
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
..
machine.c Rework the dynamic per-CPU stats code a bit. Always set 'statics->ncpus' 2011-07-18 21:15:47 +00:00
Makefile
top.local.1 - Document the -H option and 'H' key alongside other options and keys 2011-05-31 15:41:10 +00:00