Date: Sat, 26 Jun 1999 16:17:21 +0100 (BST) From: Doug Rabson <dfr@nlsystems.com> To: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp> Cc: pb@fasterix.freenix.org, freebsd-current@freebsd.org Subject: Re: kernel profiling Message-ID: <Pine.BSF.4.05.9906261616390.80685-100000@herring.nlsystems.com> In-Reply-To: <14196.60692.776168.25222H@ett.sat.t.u-tokyo.ac.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 27 Jun 1999, Hidetoshi Shimokawa wrote: > At Sat, 26 Jun 1999 16:11:43 +0200, > Pierre Beyssac <pb@fasterix.freenix.org> wrote: > > > > Just curious: would it be easily doable to profile the kernel by > > sampling the program counter, la profil(2) but for kernel mode? > > Has anyone attempted to write this? > > You can enable kernel profiling by configure kernel with `-p' or '-pp' > option. See config(8) and kgmon(8) for detail. > > I have a patch for FreeBSD/alpha to support kernel profiling. Another excellent alternative for kernel profiling is iprobe. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 442 9037 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9906261616390.80685-100000>