Date: Wed, 5 Nov 1997 09:29:45 +0100 From: j@uriah.heep.sax.de (J Wunsch) To: hackers@hub.freebsd.org Subject: Re: gettimeofday() overhead Message-ID: <19971105092945.DF19829@uriah.heep.sax.de> In-Reply-To: <Pine.BSF.3.96.971104233602.942A-100000@darkstar.home>; from Charles Mott on Nov 4, 1997 23:42:43 -0700 References: <Pine.BSF.3.96.971104174022.3158D-100000@zippy.dyn.ml.org> <Pine.BSF.3.96.971104233602.942A-100000@darkstar.home>
next in thread | previous in thread | raw e-mail | index | archive | help
As Charles Mott wrote: > At this point, accessing the kernel time variable from user space is > mainly a point of interest (this is the hackers group, right?). I can > read up on how to access /dev/kmem, but how is the kernel symbol table > accessed? With nlist(3). You should be able to find a number of sample utilities doing it, just watch out for all the setgid kmem things in /usr/*bin. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19971105092945.DF19829>