On Thu, Nov 04, 1999 at 06:30:01PM -0800, Mike Smith wrote: > Sysctl is faster than kstat once you have performed the name->oid > lookup. There is basically nothing that kstat can do that sysctl can't > do better and faster, apart from lookup-by-name. Can a loadable module, say a network driver register variables with sysctl ? Can sysctl itself be made a loadable module ? As for the speed, I don't think it is an issue - I can add another interface for getting a kstatid and make it fast. I'm not really saying that kstat is better than sysctl. In fact, it was an oversight on my part not to look closely at sysctl. My goal was to get some tools - specifically ktop and xosview to work on FreeBSD. So I don't particularly care how we get there - if it means adding a few more variables to the sysctl MIB, so be it. Now, if I make those changes and submit a patch, will it be considered for inclusion ? -Arun To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
- Re: kstat - an API for gathering kernel stats Ricardo Bernardini
- Re: kstat - an API for gathering kernel stats Ricardo Bernardini
- Re: kstat - an API for gathering kernel stats Chuck Youse
- Re: kstat - an API for gathering kernel stats Mike Smith
- kstat - an API for gathering kernel stats Arun Sharma
- Re: kstat - an API for gathering kernel stats Matthew N. Dodd
- Re: kstat - an API for gathering kernel st... Arun Sharma
- Re: kstat - an API for gathering kerne... Matthew N. Dodd
- Re: kstat - an API for gathering ... Arun Sharma
- Re: kstat - an API for gather... Mike Smith
- Re: kstat - an API for ga... Arun Sharma
- Re: kstat - an API for ga... Chris Costello
- Re: kstat - an API for ga... Arun Sharma
- Re: kstat - an API for ga... Mike Smith
- Re: kstat - an API for ga... Doug Rabson
- Re: kstat - an API for ga... Mike Smith
- Re: kstat - an API for ga... Matthew N. Dodd
- Re: kstat - an API for ga... Mike Smith
- Re: kstat - an API for ga... Peter Wemm
- Re: kstat - an API for ga... Doug Rabson
- Re: kstat - an API for gathering kernel st... Alex Zepeda