Subject: Re: vmstat -i vs. evcnt
To: Chuck Silvers <chuq@chuq.com>
From: Simon Burge <simonb@wasabisystems.com>
List: tech-userlevel
Date: 05/22/2005 21:06:00
Chuck Silvers wrote:

> here's a diff which allows vmstat and systat to not need the kernel symbols
> for the pre-evcnt interrupt-counting:
> 
> 	ftp://ftp.netbsd.org/pub/NetBSD/misc/chs/hp700/diff.vmstat
> 
> this allows us to remove those kernel symbols on platforms that do all their
> interrupt counting via evcnts.
> 
> anyone see anything else needed for this?

Looks good at a glance, but I wouldn't have guessed the diffs would be
that big.  A better "fix" would be to convert all ports to using event
counters, but this will do for now :-)

Simon.
--
Simon Burge                            <simonb@wasabisystems.com>
NetBSD Support and Service:         http://www.wasabisystems.com/