At Sat, 26 Jun 1999 16:11:43 +0200,
Pierre Beyssac <[EMAIL PROTECTED]> 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.
--
/\ Hidetoshi Shimokawa
\/ [EMAIL PROTECTED]
PGP public key: finger -l [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message