From owner-freebsd-hackers Thu Nov 4 11:26:15 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from paradox.nexuslabs.com (cc718001-a.vron1.nj.home.com [24.11.70.21]) by hub.freebsd.org (Postfix) with ESMTP id 4967714DA1 for ; Thu, 4 Nov 1999 11:26:12 -0800 (PST) (envelope-from cyouse@paradox.nexuslabs.com) Received: from localhost (cyouse@localhost) by paradox.nexuslabs.com (8.9.3/8.9.3) with ESMTP id OAA09935; Thu, 4 Nov 1999 14:23:28 -0500 (EST) (envelope-from cyouse@paradox.nexuslabs.com) Date: Thu, 4 Nov 1999 14:23:28 -0500 (EST) From: Chuck Youse To: Ricardo Bernardini Cc: freebsd-hackers@FreeBSD.ORG, mike@smith.net.au Subject: Re: kstat - an API for gathering kernel stats In-Reply-To: <19991104184654.89040.qmail@hotmail.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Such an interface, for generic userland statistical gathering, need not be [and thus should not be] implemented via a kernel-land system call. bloat, bloat, bloat. Chuck On Thu, 4 Nov 1999, Ricardo Bernardini wrote: > ----Original Message Follows---- > From: Mike Smith > > >You can add "counters" with sysctl. You can also add read/write > >variables of any type. > > You can add them dynamically at runtime? How do you know which counters are > available at a given time? > > >One thing that puzzles me; you say "userland processes can add their > >own". What value would that have, since there'd be nothing in the > >kernel that would do anything with such an object? > > But if a user mode server can mantain performance statistics there, then > some performance monitoring tool would be able to query that counters and > allow some analysis. It can be done by other means, but I think it can be > usefull having it all together using a unique system call. > > Saludos / Regards > Ricardo > > ______________________________________________________ > Get Your Private, Free Email at http://www.hotmail.com > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message