Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Nov 2003 10:53:00 +0200
From:      Peter Pentchev <roam@ringlet.net>
To:        Dag-Erling Sm?rgrav <des@des.no>
Cc:        Mike Tancsa <mike@sentex.net>
Subject:   Re: interrupt statistics
Message-ID:  <20031121085300.GP300@straylight.m.ringlet.net>
In-Reply-To: <xzpad6qjh3z.fsf@dwp.des.no>
References:  <xzpy8ucpwz9.fsf@dwp.des.no> <jfforv4me3snqshljprg8jejht7ias0oih@4ax.com> <20031120044945.GA44933@falcon.midgard.homeip.net> <20031120131903.GG300@straylight.m.ringlet.net> <xzpznerjg2s.fsf@dwp.des.no> <20031120153655.GI300@straylight.m.ringlet.net> <xzpekw2jho0.fsf@dwp.des.no> <xzpad6qjh3z.fsf@dwp.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help

--W/+CTqSGWdiRg+8j
Content-Type: text/plain; charset=windows-1251
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Nov 21, 2003 at 08:49:52AM +0100, Dag-Erling Sm?rgrav wrote:
> des@des.no (Dag-Erling Sm?rgrav) writes:
> > Peter Pentchev <roam@ringlet.net> writes:
> >> Awwighty, attached is a patch that converts getuptime() and dointr() to
> >> use sysctl, and then adds the -a option to display all interrupts.
> >> This one was tested on both RELENG_4 and HEAD (ref5) :)
> > [...]
>=20
> Why don't you use sysctlbyname(3) instead of juggling with numeric
> names?

Point taken.  I was going to attach a patch that uses sysctlbyname(3),
fixes another buglet in the !VMSTAT_SYSCTL case (and is less intrusive),
and removes the intrcnt/intrnames-related namelist definitions for the
VMSTAT_SYSCTL case.  However, it seems to have "issues" on 64-bit
platforms, or at least beast.  I'm working on it.

I'll send a separate reply to your other message about the '???' and
stray irq's.

G'luck,
Peter

--=20
Peter Pentchev	roam@ringlet.net    roam@sbnd.net    roam@FreeBSD.org
PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
This sentence claims to be an Epimenides paradox, but it is lying.

--W/+CTqSGWdiRg+8j
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/vdJs7Ri2jRYZRVMRApaLAJ91rHmzQ7ZEfHSyH2X/7l0p7rJYzACgp0eD
Kz1RPed0XJxqqHHd84RaQ50=
=rfCd
-----END PGP SIGNATURE-----

--W/+CTqSGWdiRg+8j--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031121085300.GP300>