Ian Lepore ae4f863c89 Eliminate the need for an intermediate array of indices into the arrays of
interrupt counts and names, by making the names into an array of fixed-length
strings that can be directly indexed.  This eliminates extra memory accesses
on every interrupt to increment the counts.

As a side effect, it also fixes a bug that would corrupt the names data
if a name was longer than MAXCOMLEN, which led to incorrect vmstat -i output.

Approved by:	cognet (mentor)
2013-01-19 00:50:12 +00:00
..
2012-08-15 03:03:03 +00:00
2012-08-15 03:03:03 +00:00
2012-06-14 14:38:55 +00:00
2012-06-13 05:02:51 +00:00
2012-06-13 05:02:51 +00:00
2012-06-13 05:02:51 +00:00
2012-08-15 03:03:03 +00:00
2012-06-13 05:02:51 +00:00
2012-06-13 05:02:51 +00:00
2012-06-13 05:02:51 +00:00
2012-06-13 05:02:51 +00:00
2012-08-15 03:03:03 +00:00
2012-08-15 03:03:03 +00:00
2012-08-15 03:03:03 +00:00
2013-01-17 09:52:35 +00:00
2012-06-13 05:02:51 +00:00
2012-08-15 03:03:03 +00:00
2012-06-13 05:02:51 +00:00
2012-08-15 03:03:03 +00:00
2012-06-13 05:02:51 +00:00
2012-08-15 03:03:03 +00:00
2012-08-15 03:03:03 +00:00
2012-12-19 00:24:31 +00:00
2012-08-15 03:03:03 +00:00